Partial Least Squares Model.Predict Method
Definition
Namespace: Numerics.NET.Statistics.Multivariate
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Overload List
Predict( | Predicts the value of the dependent variables corresponding to the specified features. |
Predict( | Predicts the value of the dependent variables corresponding to the specified features. |
Predict( | Predicts the value of the dependent variables corresponding to the specified features. |
Predict(IDataFrame, ModelInputFormat)
Predicts the value of the dependent variables corresponding to
the specified features.
public Matrix<double> Predict(
IDataFrame features,
ModelInputFormat format = ModelInputFormat.Automatic
)
Parameters
- features IDataFrame
- A data frame that contains the features for the regression.
- format ModelInputFormat (Optional)
- A ModelInputFormat value that specifies how the elements in features relate to the variables in the model.
Return Value
Matrix<Double>A matrix containing the predicted values.
Predict(Matrix<Double>, ModelInputFormat)
Predicts the value of the dependent variables corresponding to
the specified features.
public Matrix<double> Predict(
Matrix<double> features,
ModelInputFormat format = ModelInputFormat.Automatic
)
Parameters
- features Matrix<Double>
- A matrix that contains the features for the regression.
- format ModelInputFormat (Optional)
- A ModelInputFormat value that specifies how the elements in features relate to the variables in the model.
Return Value
Matrix<Double>A matrix containing the predicted values.
Predict(Vector<Double>, ModelInputFormat)
Predicts the value of the dependent variables corresponding to
the specified features.
public Vector<double> Predict(
Vector<double> features,
ModelInputFormat format = ModelInputFormat.Automatic
)
Parameters
- features Vector<Double>
- A vector that contains the input values for the regression.
- format ModelInputFormat (Optional)
- A ModelInputFormat value that specifies how the elements in features relate to the variables in the model.
Return Value
Vector<Double>A vector containing the predicted values.