Partial Least Squares Model.Predict Method
Definition
Namespace: Extreme.Statistics.Multivariate
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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.