The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information.... |
Home MathPack Statis Class TPLSModel Methods Predict | |||||||||||
See also: CalculateModel, RegCoeff | |||||||||||
Predict |
|||||||||||
The method Predict allows you to predict unknown Y values once the model has been established by CalculateModel. Predict comes in two overloaded variants. Version [1] estimates the response values YHat for a single object. Both the values of the independent variables XData and the resulting response data are passed as open arrays of double precision floating point numbers. Version [2] calculates the response for several objects. The independent variables are passed in the array XData, the computed response data are returned in the matrix YHat. In both versions the XData matrix has to have the same number of columns as the training data contained in XMat. The output structures YHat are automatically resized to fit the required number of returned estimates.
|