Contenu connexe
Similaire à 学習データ計測時点による欠陥モジュール予測精度の比較
Similaire à 学習データ計測時点による欠陥モジュール予測精度の比較 (20)
Plus de 奈良先端大 情報科学研究科 (20)
学習データ計測時点による欠陥モジュール予測精度の比較
- 10. モデル構築アルゴリズム
◦ ランダムフォレスト法[3]
モデルの予測精度の評価指標
◦
[4]
モジュールの規模を考慮した評価指標
値が大きいほどモデルの性能が良い
値域は [0,1]
[3] L. Breiman,“ Random forests, ”Machine Learning, Vol.45, No.1, pp. 5-32, 2001.
[4] T. Mende, and R. Koschke,“ Revisiting the evaluation of defect prediction models, ”Proceedings of
International Conference on Predictor Models in Software Engineering (PROMISE’09), pp.1-10, 2009.
10
- 11. Eclipse Platformから取得したスナップショット
◦ 取得期間:2005年7月(ver3.1)~2006年7月(ver3.2)
◦ 各月1日0時時点のスナップショットを利用
使用メトリクス
メトリクス
AvgCyclomatic
概要
サイクロマティック複
雑度の平均
メトリクス
CountStmtExe
概要
実行可能ステートメント
行数
CountLineCodeExe
実行可能コード行数
CountStmtDecl
CountDeclClass
クラス数
CountLineComment コメント行数
CountDeclfunction
関数の数
NumberOfRevisions
変更行数
CountLineBlanck
空白行数
AddedLines
追加行数
CountLineCode
コード行数
RemovedLines
削除行数
CountLineCodeDecl
宣言コード行数
プロダクトメトリクス:10種類
プロダクトメトリクス:10種類
10
―
宣言ステートメント行数
―
プロセスメトリクス:3
プロセスメトリクス:3種類
メトリクス:
11