Predicts the class based on
the specified values of the features.
Namespace:
Extreme.DataAnalysis.Models
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
protected virtual int PredictCore(
Vector<T> features,
bool modelFeaturesOnly
)
Protected Overridable Function PredictCore (
features As Vector(Of T),
modelFeaturesOnly As Boolean
) As Integer
protected:
virtual int PredictCore(
Vector<T>^ features,
bool modelFeaturesOnly
)
abstract PredictCore :
features : Vector<'T> *
modelFeaturesOnly : bool -> int
override PredictCore :
features : Vector<'T> *
modelFeaturesOnly : bool -> int
Parameters
- features
- Type: Extreme.MathematicsVectorT
A vector containing
the values for the independent variables. - modelFeaturesOnly
- Type: SystemBoolean
Specifies whether
features includes only
features that appear in the fitted model.
Return Value
Type:
Int32The class with the highest probability for the specified
features as predicted by the model.
Reference