开发部分最小平方回归与区分分析,用于软件错误预测.
Róbert Rajkó1,2, István Siket3,2, Péter Hegedűs3,2
1E-Dimension Ltd., Szeged, Hungary.
Heliyon
|August 21, 2024
概括
本研究介绍了带有区分分析的部分最小方程 (PLS-DA),用于使用源代码指标预测易发生错误的Java类. 与现有方法相比,这种新方法显示出更高的性能和更快的培训速度.
科学领域:
- 软件工程 软件工程 软件工程
- 机器学习 机器学习
- 化学测量 化学测量 化学测量
背景情况:
- 预测易发生错误的代码对于软件维护至关重要.
- 使用静态和历史指标的现有模型具有局限性.
- 需要新的方法来准确预测错误.
研究的目的:
- 应用部分最小平方与差别分析 (PLS-DA),一种化学测量技术,用于预测Java程序中的易受错误的类.
- 评估PLS-DA的性能与最先进的错误预测模型相比.
- 评估PLS-DA模型的效率和完整性.
主要方法:
- 利用Java程序的静态源代码指标.
- 用于分类的带有歧视性分析的部分最小平方 (PLS-DA).
- 通过严格的统计评估,将PLS-DA性能与现有的错误预测方法进行比较.
- 使用或不使用数据重新采样技术调查的模型性能.
主要成果:
- 与没有数据重新采样的最先进方法相比,PLS-DA实现了更高的性能 (F值为0.44-0.47).
- 使用PLS-DA,模型训练显著更快,简化了参数优化.
- PLS-DA表现出卓越的完整性,识别了69.3% (没有重新采样) 和79.4% (增量采样) 的总错误.
结论:
- 带有区分分析的部分最小平方 (PLS-DA) 是软件工程中易受错误的类预测的一个有希望和高效的方法.
- 化学测量技术在速度和错误检测完整性方面提供了显著的优势.
- 对软件维护的化学计量方法进行进一步的研究是有必要的.
相关概念视频
Residuals and Least-Squares Property
7.3K
The vertical distance between the actual value of y and the estimated value of y. In other words, it measures the vertical distance between the actual data point and the predicted point on the line
If the observed data point lies above the line, the residual is positive, and the line underestimates the actual data value for y. If the observed data point lies below the line, the residual is negative, and the line overestimates the actual data value for y.
The process of fitting the best-fit...
If the observed data point lies above the line, the residual is positive, and the line underestimates the actual data value for y. If the observed data point lies below the line, the residual is negative, and the line overestimates the actual data value for y.
The process of fitting the best-fit...
7.3K
Variation
6.8K
An important characteristic of any set of data is the variation in the data. In some data sets, the data values are concentrated closely near the mean; in other data sets, the data values are more widely spread out from the mean. The most common measure of variation, or spread, is the standard deviation, which is the square root of variance.
When independent and dependent variables are plotted on a scatter plot, the slope of a line is a value that describes the rate of change between the two...
When independent and dependent variables are plotted on a scatter plot, the slope of a line is a value that describes the rate of change between the two...
6.8K
Regression Analysis
5.7K
Regression analysis is a statistical tool that describes a mathematical relationship between a dependent variable and one or more independent variables.
In regression analysis, a regression equation is determined based on the line of best fit– a line that best fits the data points plotted in a graph. This line is also called the regression line. The algebraic equation for the regression line is called the regression equation. It is represented as:
In regression analysis, a regression equation is determined based on the line of best fit– a line that best fits the data points plotted in a graph. This line is also called the regression line. The algebraic equation for the regression line is called the regression equation. It is represented as:
5.7K
Multiple Regression
3.0K
Multiple regression assesses a linear relationship between one response or dependent variable and two or more independent variables. It has many practical applications.
Farmers can use multiple regression to determine the crop yield based on more than one factor, such as water availability, fertilizer, soil properties, etc. Here, the crop yield is the response or dependent variable as it depends on the other independent variables. The analysis requires the construction of a scatter plot...
Farmers can use multiple regression to determine the crop yield based on more than one factor, such as water availability, fertilizer, soil properties, etc. Here, the crop yield is the response or dependent variable as it depends on the other independent variables. The analysis requires the construction of a scatter plot...
3.0K
Mechanistic Models: Compartment Models in Algorithms for Numerical Problem Solving
45
Mechanistic models play a crucial role in algorithms for numerical problem-solving, particularly in nonlinear mixed effects modeling (NMEM). These models aim to minimize specific objective functions by evaluating various parameter estimates, leading to the development of systematic algorithms. In some cases, linearization techniques approximate the model using linear equations.
In individual population analyses, different algorithms are employed, such as Cauchy's method, which uses a...
In individual population analyses, different algorithms are employed, such as Cauchy's method, which uses a...
45
Regression Toward the Mean
6.3K
Regression toward the mean (“RTM”) is a phenomenon in which extremely high or low values—for example, and individual’s blood pressure at a particular moment—appear closer to a group’s average upon remeasuring. Although this statistical peculiarity is the result of random error and chance, it has been problematic across various medical, scientific, financial and psychological applications. In particular, RTM, if not taken into account, can interfere when...
6.3K


