# An Improved CNN Model for Within-Project Software Defect Prediction
## 5 Results and Discussion
### Performance of the Improved CNN Model
The decimal values represent the average G-measure values. The best G-measures for each row are highlighted in bold. \begin{table}
\begin{tabular}{c c c c c c c c c c} \hline \hline
**Project** & **Version** & **DT** & **RF** & **LR** & **NB** & **NET** & **FIX** & **RANDOM** & **Improved CNN** \\ \hline \multirow{4}{*}{Ant} & 1.3 & 0.24 & 0.23 & 0.24 & 0.30 & 0.05 & 0.00 & 0.00 & **0.68** \\ \cline{2-9}  & 1.4 & 0.22 & 0.12 & 0.06 & **0.23** & \(-\)0.04 & 0.00 & 0.02 & 0.20 \\ \cline{2-9}  & 1.5 & **0.38** & 0.33 & **0.38** & 0.27 & 0.14 & 0.00 & 0.00 & 0.24 \\ \cline{2-9}  & 1.6 & 0.40 & **0.49** & 0.45 & 0.45 & 0.46 & 0.00 & 0.03 & 0.22 \\ \cline{2-9}  & 1.7 & 0.40 & 0.43 & 0.42 & **0.44** & 0.39 & 0.00 & 0.01 & 0.30 \\ \hline \multirow{4}{*}{Camel} & 1.0 & 0.00 & \(-\)0.02 & \(-\)0.02 & 0.28 & \(-\)0.01 & 0.00 & 0.03 & **0.39** \\ \cline{2-9}  & 1.2 & 0.21 & 0.19 & 0.18 & 0.14 & 0.19 & 0.00 & 0.01 & **0.50** \\ \cline{2-9}  & 1.4 & 0.21 & 0.23 & 0.16 & 0.14 & 0.06 & 0.00 & 0.01 & **0.39** \\ \cline{2-9}  & 1.6 & 0.16 & 0.19 & 0.16 & 0.21 & 0.18 & 0.00 & 0.01 & **0.42** \\ \hline \multirow{4}{*}{Ivy} & 1.1 & 0.31 & 0.34 & 0.34 & 0.26 & 0.38 & 0.00 & 0.04 & **0.48** \\ \cline{2-9}  & 1.4 & \(-\)0.02 & 0.00 & 0.11 & 0.11 & **0.16** & 0.00 & 0.01 & **0.16** \\ \cline{2-9}  & 2.0 & 0.23 & 0.27 & 0.27 & **0.31** & 0.17 & 0.00 & 0.01 & 0.25 \\ \hline \multirow{4}{*}{Log4j} & 3.2 & 0.37 & 0.48 & 0.53 & 0.40 & 0.46 & 0.00 & 0.00 & **0.56** \\ \cline{2-9}  & 4.0 & 0.34 & **0.45** & 0.39 & 0.29 & 0.36 & 0.00 & 0.03 & 0.29 \\ \cline{2-9}  & 4.1 & 0.30 & 0.45 & **0.50** & 0.40 & 0.46 & 0.00 & 0.02 & 0.00 \\ \cline{2-9}  & 4.2 & 0.39 & 0.26 & 0.33 & 0.36 & 0.37 & 0.00 & 0.01 & **0.51** \\ \cline{2-9}  & 4.3 & 0.00 & \(-\)0.01 & \(-\)0.02 & **0.20** & 0.00 & 0.00 & 0.00 & 0.00 \\ \hline \multirow{4}{*}{Log4j} & 1.0 & 0.40 & 0.42 & 0.42 & 0.53 & 0.49 & 0.00 & 0.04 & **0.69** \\ \cline{2-9}  & 1.1 & 0.50 & 0.62 & 0.46 & 0.60 & **0.66** & 0.00 & 0.04 & 0.29 \\ \cline{2-9}  & 1.2 & **0.27** & **0.27** & 0.04 & 0.17 & \(-\)0.02 & 0.00 & 0.04 & 0.00 \\ \hline \multirow{4}{*}{Lucene} & 2.0 & 0.24 & 0.30 & 0.38 & 0.32 & 0.40 & 0.00 & 0.02 & **0.53** \\ \cline{2-9}  & 2.2 & 0.07 & 0.23 & 0.21 & 0.19 & 0.12 & 0.00 & 0.01 & **0.29** \\ \cline{2-9}  & 2.4 & 0.34 & 0.34 & **0.37** & 0.33 & 0.30 & 0.00 & 0.01 & 0.00 \\ \hline \multirow{4}{*}{Pbeans} & 1.0 & 0.49 & 0.57 & 0.23 & 0.37 & 0.02 & 0.00 & 0.09 & **0.63** \\ \cline{2-9}  & 2.0 & 0.06 & 0.23 & 0.33 & 0.13 & 0.04 & 0.00 & 0.05 & **0.67** \\ \hline \multirow{4}{*}{Poi} & 1.5 & **0.48** & 0.39 & 0.28 & 0.24 & 0.35 & 0.00 & 0.00 & 0.29 \\ \cline{2-9}  & 2.0 & **0.22** & 0.19 & 0.18 & 0.19 & 0.15 & 0.00 & 0.01 & 0.01 \\ \cline{2-9}  & 2.5 & 0.52 & 0.60 & 0.47 & 0.28 & 0.46 & 0.00 & 0.03 & **0.70** \\ \cline{2-9}  & 3.0 & 0.52 & **0.56** & 0.49 & 0.26 & 0.48 & 0.00 & 0.00 & 0.42 \\ \hline \multirow{4}{*}{Synapse} & 1.0 & 0.01 & 0.04 & 0.25 & **0.35** & 0.18 & 0.00 & 0.03 & 0.20 \\ \cline{2-9}  & 1.1 & 0.36 & 0.39 & 0.46 & 0.38 & 0.43 & 0.00 & 0.01 & **0.60** \\ \cline{2-9}  & 1.2 & 0.41 & 0.44 & 0.39 & 0.42 & 0.41 & 0.00 & 0.01 & **0.59** \\ \hline \multirow{4}{*}{Velocity} & 1.4 & 0.56 & 0.52 & 0.51 & 0.53 & **0.59** & 0.00 & 0.01 & 0.56 \\ \cline{2-9}  & 1.5 & 0.33 & **0.49** & 0.38 & 0.19 & 0.27 & 0.00 & 0.02 & 0.42 \\ \cline{2-9}  & 1.6 & 0.34 & 0.31 & 0.32 & 0.24 & 0.33 & 0.00 & 0.02 & **0.76** \\ \hline \multirow{4}{*}{Xalan} & 2.4 & 0.17 & 0.23 & 0.26 & **0.27** & 0.16 & 0.00 & 0.00 & 0.18 \\ \cline{2-9}  & 2.5 & 0.32 & 0.37 & 0.25 & 0.13 & 0.16 & 0.00 & 0.01 & **0.38** \\ \cline{2-9}  & 2.6 & 0.48 & 0.53 & 0.47 & 0.45 & 0.40 & 0.00 & 0.01 & **0.58** \\ \hline \multirow{4}{*}{Xerces} & Initial & **0.47** & 0.42 & 0.46 & 0.19 & 0.32 & 0.00 & 0.01 & 0.23 \\ \cline{2-9}  & 1.2 & **0.29** & 0.28 & 0.04 & 0.12 & 0.11 & 0.00 & 0.01 & 0.28 \\ \cline{2-9}  & 1.3 & 0.43 & 0.40 & 0.37 & 0.29 & 0.31 & 0.00 & 0.02 & **0.50** \\ \hline \multicolumn{2}{c}{average} & 0.30 & 0.33 & 0.30 & 0.29 & 0.27 & 0.00 & 0.02 & **0.38** \\ \hline \hline \end{tabular}
\end{table}