Performs a PLS1 calculation on the given data.
Namespace:
CenterSpace.NMath.StatsAssembly: NMathStats (in NMathStats.dll) Version: 3.4.0.0
Syntax
| C# |
|---|
public abstract void Calculate( DoubleMatrix predictorMatrix, DoubleVector responseVector, int numComponents ) |
| Visual Basic (Declaration) |
|---|
Public MustOverride Sub Calculate ( _ predictorMatrix As DoubleMatrix, _ responseVector As DoubleVector, _ numComponents As Integer _ ) |
| Visual C++ |
|---|
public: virtual void Calculate( DoubleMatrix^ predictorMatrix, DoubleVector^ responseVector, int numComponents ) abstract |
Parameters
- predictorMatrix
- Type: CenterSpace.NMath.Core..::.DoubleMatrix
Independent data values. Matrix should be number of samples rows by number of independent variables columns.
- responseVector
- Type: CenterSpace.NMath.Core..::.DoubleVector
response data values. Vector should have length equal to the number of samples.
- numComponents
- Type: System..::.Int32
Number of components, or latent vectors, to use for the calculation.