Fault-prone モジュール判別におけるサンプリング法適用の効果

靖高 亀井, 真佑 柗本, 健 柿元 et al. · Institutional Repositories DataBase (IRDB) · 2007

Fault-prone モジュール(バグを含みやすいモジュール)判別モデルの性能向上を目的として,サンプリング法(オーバ/アンダサンプリング)適用の効果を実験的に評価する.サンプリング法は,2群の判別モデル構築に用いるフィットデータに対する前処理であり,2 群のケース数の偏りを解消することにより,少数派の群の判別精度の向上が期待される.ただし,従来,ソフトウェア工学分野への適用事例は報告されていない.実験では,日本のある企業で開発されたレガシーソフトウェアから得られた2 つのモジュール群(バグモジュール含有率5.67%,および13.16%)を題材として,4 種類のサンプリング法(ROS,SMOTE,RUS,TLUS)適用の効果を,4 種類の判別モデル(線形判別分析,ロジスティック回帰分析,ニューラルネット,分類木)について評価した.実験の結果,分類木以外の判別モデルに対してはサンプリング法の効果があること(F1 値の向上),および,TLUSは他の3 つのサンプリング法よりも効果が小さいことが分かった.また,分類木以外の判別モデルにTLUS 以外のサンプリング法を適用した場合,F1 値の向上は最小0.078,最大0.303,平均0.146であった.; To improve the prediction performance of fault-proneness models, this paper experimentally evaluates the effect of over and under sampling methods, which are preprocessing procedures for a fit dataset. The sampling methods are expected to improve the prediction performance when the fit dataset is imbalanced, i.e. there exists a large bias between the number of faultprone modules and the number of non-fault-prone modules. There is, however, no research that reports the effects of applying sampling methods to fault-proneness models. In the experiment, we evaluated the effects of four sampling methods (ROS, SMOTE, RUS, TLUS) applied to four fault-proneness models (linear discriminant analysis, logistic regression analysis, neural network and classification tree) by using two module sets (ratios of fault-prone modules are 5.67% and 13.16%) derived from large-scale legacy software that has been developed and maintained by a Japanese software company. The results showed that all four sampling methods improved the prediction performance of every fault-proneness model except the classification tree. However, the improvement by TLUS was less than that of the other sampling methods. The improvements in F1-Values were 0.079 at minimum, 0.303 at maximum and 0.146 at the mean when three sampling methods (ROS, SMOTE and RUS) were applied to three fault-proneness models (linear, logistic and neural network).

Cited by 0 works.

Authors