PLS1_sina
代码说明:
说明: 用于单变量的偏最小二乘回归,直接给出回归系数。 X0是自变量矩阵,Y0是因变量向量,PRESS是去除其中某一个样本而回归出的方程对 缺失样本的误差估计,SS则是使用全部样本回归出的方程对同一个样本的误差估计。 在h个成分时,计算PRESS_h与SS_h-1,若1-PRESS/SS大于0.0975时,应增加成份。 [row,col]=size(pz) (For single-variable partial least squares regression, regression coefficients are given directly. X0 is the independent variable matrix, Y0 is the dependent variable vector, PRESS is to remove one of them out of the sample and the regression equation for missing samples error estimates, SS is the use of all of the sample regression equation out of a sample of the same error estimates. In h constituent, the calculation PRESS_h and SS_h-1, if the 1-PRESS/SS greater than 0.0975, to increase the ingredients. [Row, col] = size (pz) )
下载说明:请别用迅雷下载,失败请重下,重下不扣分!