Regressor<T>.Predict Method
Definition
Namespace: Numerics.NET.DataAnalysis.Models
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.0.0
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.0.0
Overload List
| Predict( | Generates predictions for each row of input features using the model. |
| Predict( | Predicts an output value based on the provided feature vector. |
Predict(Matrix<T>)
Generates predictions for each row of input features using the model.
public virtual Vector<T> Predict(
Matrix<T> features
)Parameters
- features Matrix<T>
- A matrix containing feature vectors, where each row represents a separate input instance to be predicted.
Return Value
Vector<T>A vector containing the predicted values for each input row in the features matrix. The order of predictions corresponds to the order of rows in the input matrix.
Predict(Vector<T>)
Predicts an output value based on the provided feature vector.
public abstract T Predict(
Vector<T> features
)Parameters
Return Value
TThe predicted value of type T, computed from the input features.
Remarks
Implementations may use different algorithms or models to perform prediction. The
behavior and accuracy of the prediction depend on the specific implementation.