Predicts the value of the output corresponding to
the specified input.
Namespace:
Extreme.DataAnalysis.Models
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public int Predict(
Vector<T> features,
ModelInputFormat format = ModelInputFormat.Automatic
)
Public Function Predict (
features As Vector(Of T),
Optional format As ModelInputFormat = ModelInputFormat.Automatic
) As Integer
public:
int Predict(
Vector<T>^ features,
ModelInputFormat format = ModelInputFormat::Automatic
)
member Predict :
features : Vector<'T> *
?format : ModelInputFormat
(* Defaults:
let _format = defaultArg format ModelInputFormat.Automatic
*)
-> int
Parameters
- features
- Type: Extreme.MathematicsVectorT
A vector that contains
the input values for the regression. - format (Optional)
- Type: Extreme.DataAnalysis.ModelsModelInputFormat
A ModelInputFormat value
that specifies how the elements in features
relate to the variables in the model.
Return Value
Type:
Int32The predicted value.
Reference