Partial Least Squares Model.Press Method
Returns the Predicted REsidual Sum of Squares (PRESS)
value for the specified test features and targets.
Definition
Namespace: Numerics.NET.Statistics.Multivariate
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
C#
A vector containing the PRESS value for each dependent variable.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
public Vector<double> Press(
Matrix<double> features,
Matrix<double> targets
)
Parameters
- features Matrix<Double>
- A matrix that contains the independent variables.
- targets Matrix<Double>
- A matrix that contains the dependent variables.
Return Value
Vector<Double>A vector containing the PRESS value for each dependent variable.