Predicts the value of the dependent variable 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 CategoricalVector<int> PredictCore(
Matrix<T> features,
bool modelFeaturesOnly
)
Protected Overridable Function PredictCore (
features As Matrix(Of T),
modelFeaturesOnly As Boolean
) As CategoricalVector(Of Integer)
protected:
virtual CategoricalVector<int>^ PredictCore(
Matrix<T>^ features,
bool modelFeaturesOnly
)
abstract PredictCore :
features : Matrix<'T> *
modelFeaturesOnly : bool -> CategoricalVector<int>
override PredictCore :
features : Matrix<'T> *
modelFeaturesOnly : bool -> CategoricalVector<int>
Parameters
- features
- Type: Extreme.MathematicsMatrixT
A matrix 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:
CategoricalVectorInt32A vector containing the class with the highest probability
for as predicted by the model for each row in
features.
Reference