|  | PLS1NipalsAlgorithmCalculate Method | 
            Calculates a partial least squares from the given data and number of 
            components.
            
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
 Syntax
Syntaxpublic override void Calculate(
	DoubleMatrix X,
	DoubleVector y,
	int numComponents
)
Public Overrides Sub Calculate ( 
	X As DoubleMatrix,
	y As DoubleVector,
	numComponents As Integer
)
public:
virtual void Calculate(
	DoubleMatrix^ X, 
	DoubleVector^ y, 
	int numComponents
) override
abstract Calculate : 
        X : DoubleMatrix * 
        y : DoubleVector * 
        numComponents : int -> unit 
override Calculate : 
        X : DoubleMatrix * 
        y : DoubleVector * 
        numComponents : int -> unit Parameters
- X  DoubleMatrix
- Predictor data. Matrix is number of samples by 
            number of predictor variables.
- y  DoubleVector
- Response data. Length of the vector is the number
            of samples. This length must match the number of rows in the predictor
            matrix.
- numComponents  Int32
- Number of components.
 See Also
See Also