[Paper Review] Software Defect Prediction Using Support Vector Machine
This study evaluates the performance of Support Vector Machine (SVM) with six different kernel functions for software defect prediction using public datasets from the PROMISE project. Results show no single kernel consistently outperforms others across datasets, and PCA-based feature reduction yields only marginal accuracy improvements, highlighting SVM's instability in defect prediction under varying settings.
Software defect prediction is an essential task during the software development Lifecycle as it can help managers to identify the most defect-proneness modules. Thus, it can reduce the test cost and assign testing resources efficiently. Many classification methods can be used to determine if the software is defective or not. Support Vector Machine (SVM) has not been used extensively for such problems because of its instability when applied on different datasets and parameter settings. The main parameter that influences the accuracy is the choice of the kernel function. The use of kernel functions has not been studied thoroughly in previous papers. Therefore, this research examines the performance and accuracy of SVM with six different kernel functions. Various public datasets from the PROMISE project empirically validate our hypothesis. The results demonstrate that no kernel function can give stable performance across different experimental settings. In addition, the use of PCA as a feature reduction algorithm shows slight accuracy improvement over some datasets.
Motivation & Objective
- To assess the effectiveness of SVM with diverse kernel functions in predicting software defects.
- To investigate the impact of kernel selection on SVM performance across different software datasets.
- To evaluate the role of PCA as a feature reduction technique in improving SVM-based defect prediction accuracy.
- To identify stable and reliable configurations for SVM in software defect prediction tasks.
Proposed method
- The study employs six kernel functions—linear, polynomial, radial basis function (RBF), sigmoid, thin-plate spline, and multiquadric—within the SVM framework.
- Public datasets from the PROMISE software engineering repository are used for empirical evaluation.
- Feature selection and dimensionality reduction are applied using Principal Component Analysis (PCA) to assess its impact on model accuracy.
- Performance is measured using standard classification metrics such as accuracy, F1-score, and AUC-ROC.
- Experiments are conducted across multiple datasets to evaluate generalization and stability of each kernel configuration.
- Statistical tests are used to compare the significance of performance differences across kernel types.
Experimental results
Research questions
- RQ1Which kernel function yields the highest defect prediction accuracy across diverse software datasets when using SVM?
- RQ2How does the choice of kernel function affect the stability and consistency of SVM performance across different datasets?
- RQ3To what extent does applying PCA as a feature reduction technique improve SVM-based defect prediction accuracy?
- RQ4Are there specific dataset characteristics that make certain kernels more effective than others in defect prediction?
Key findings
- No single kernel function consistently achieves the highest performance across all datasets, indicating instability in SVM performance depending on dataset and parameter settings.
- The RBF kernel showed strong performance on several datasets but did not dominate across all experiments, suggesting no universally optimal kernel.
- PCA-based feature reduction led to slight accuracy improvements on some datasets, but the gains were not substantial or consistent across all cases.
- Performance variation across kernels was significant, with differences in F1-score and AUC-ROC values indicating sensitivity to kernel choice.
- The study confirms that SVM's performance in software defect prediction is highly dependent on both kernel selection and dataset-specific characteristics.
- The results suggest that kernel selection should be dataset-specific rather than relying on a default or universally preferred kernel.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.