Mustaqeem Mohd, Saqib Mohd
CSE Department, Institute of Technology & Management (A.K.T.U), Aligarh, U.P India.
Mathematic and Computing Department, Indian Institute of Technology (ISM), Dhanbad, Jharkhand India.
Cluster Comput. 2021;24(3):2581-2595. doi: 10.1007/s10586-021-03282-8. Epub 2021 Apr 16.
Defects are the major problems in the current situation and predicting them is also a difficult task. Researchers and scientists have developed many software defects prediction techniques to overcome this very helpful issue. But to some extend there is a need for an algorithm/method to predict defects with more accuracy, reduce time and space complexities. All the previous research conducted on the data without feature reduction lead to the curse of dimensionality. We brought up a machine learning hybrid approach by combining Principal component Analysis (PCA) and Support vector machines (SVM) to overcome the ongoing problem. We have employed PROMISE (CM1: 344 observations, KC1: 2109 observations) data from the directory of NASA to conduct our research. We split the dataset into training (CM1: 240 observations, KC1: 1476 observations) dataset and testing (CM1: 104 observations, KC1: 633 observations) datasets. Using PCA, we find the principal components for feature optimization which reduce the time complexity. Then, we applied SVM for classification due to very native qualities over traditional and conventional methods. We also employed the GridSearchCV method for hyperparameter tuning. In the proposed hybrid model we have found better accuracy (CM1: 95.2%, KC1: 86.6%) than other methods. The proposed model also presents higher evaluation in the terms of other criteria. As a limitation, the only problem with SVM is there is no probabilistic explanation for classification which may very rigid towards classifications. In the future, some other method may also introduce which can overcome this limitation and keep a soft probabilistic based margin for classification on the optimal hyperplane.
缺陷是当前形势下的主要问题,预测缺陷也是一项艰巨的任务。研究人员和科学家已经开发了许多软件缺陷预测技术来克服这个非常有用的问题。但在某种程度上,需要一种算法/方法来更准确地预测缺陷,降低时间和空间复杂度。之前对未进行特征约简的数据所做的所有研究都导致了维度灾难。我们提出了一种将主成分分析(PCA)和支持向量机(SVM)相结合的机器学习混合方法来解决当前的问题。我们使用了来自美国国家航空航天局目录的PROMISE(CM1:344个观测值,KC1:2109个观测值)数据来进行我们的研究。我们将数据集分为训练集(CM1:240个观测值,KC1:1476个观测值)和测试集(CM1:104个观测值,KC1:633个观测值)。使用PCA,我们找到了用于特征优化的主成分,这降低了时间复杂度。然后,由于SVM相对于传统方法具有非常天然的优势,我们将其应用于分类。我们还使用了GridSearchCV方法进行超参数调整。在所提出的混合模型中,我们发现其准确率(CM1:95.2%,KC1:86.6%)比其他方法更高。所提出的模型在其他标准方面也表现出更高的评估结果。作为一个局限性,SVM唯一的问题是对于分类没有概率解释,这可能对分类非常严格。未来,可能还会引入其他一些方法来克服这个局限性,并在最优超平面上保持基于软概率的分类边界。