Welcome![Sign In][Sign Up]
Location:
Search - coefficient of determination csharp

Search list

[AlgorithmCubicMultinomialRegress

Description: 一、 一元三次回归方程 CubicMultinomialRegress.cs 方程模型为Y=a*X(3)+b*X(2)+c*X(1)+d public override double[] buildFormula() 得到系数数组,存放顺序与模型系数相反,即该数组中系数的值依次是d,c,b,a。 以后所述所有模型的系数存放均与此相同(多元线性回归方程除外)。 public override double forecast(double x) 预测函数,根据模型得到预测结果 public override double computeR2() 计算相关系数(决定系数),系数越接近1,数据越满足该模型。 -1, one dollar three regression equations CubicMultinomialRegress.cs equation model for Y = a* X (3)+ B* X (2)+ C* X (1)+ Dpublic override double [] buildFormula () get coefficient array, store order and model coefficients contrary, that is, the array is followed by the value of coefficient d, c, b, a. After all the model described in the coefficient of storage are the same (except for multiple linear regression equation). public override double forecast (double x) prediction function, according to the results of model prediction public override double computeR2 () calculated the correlation coefficient (determination coefficient), coefficient of the closer one, the data satisfy the model more.
Platform: | Size: 3072 | Author: wangyinghao | Hits:

[AlgorithmLogarithmRegress

Description: 对数回归方程 LogarithmRegress.cs 方程模型为 Y=a*LnX+b public override double[] buildFormula() 得到系数数组,存放顺序与模型系数相反,即该数组中系数的值依次是b,a。 public override double forecast(double x) 预测函数,根据模型得到预测结果。 public override double computeR2() 计算相关系数(决定系数),系数越接近1,数据越满足该模型。 -Logarithmic regression equation LogarithmRegress.cs equation model for Y = a* LnX+ Bpublic override double [] buildFormula () get coefficient array, the storage order and model coefficients contrary, that is, the array is followed by the value of coefficient b, a. public override double forecast (double x) prediction function, according to the results of model prediction. public override double computeR2 () calculated the correlation coefficient (determination coefficient), coefficient of the closer one, the data satisfy the model more.
Platform: | Size: 3072 | Author: wangyinghao | Hits:

CodeBus www.codebus.net