Predicts the value of the dependent variable based on
the specified values of the features.
Namespace: Extreme.StatisticsAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
protected override CategoricalVector<int> PredictCore(
Matrix<double> features,
bool modelFeaturesOnly,
bool includesIntercept
)
Protected Overrides Function PredictCore (
features As Matrix(Of Double),
modelFeaturesOnly As Boolean,
includesIntercept As Boolean
) As CategoricalVector(Of Integer)
protected:
virtual CategoricalVector<int>^ PredictCore(
Matrix<double>^ features,
bool modelFeaturesOnly,
bool includesIntercept
) override
abstract PredictCore :
features : Matrix<float> *
modelFeaturesOnly : bool *
includesIntercept : bool -> CategoricalVector<int>
override PredictCore :
features : Matrix<float> *
modelFeaturesOnly : bool *
includesIntercept : bool -> CategoricalVector<int>
Parameters
- features
- Type: Extreme.MathematicsMatrixDouble
A matrix containing
the values for the independent variables. - modelFeaturesOnly
- Type: SystemBoolean
Specifies whether
features includes only
features that appear in the fitted model. - includesIntercept
- Type: SystemBoolean
(Optional.) Specifies whether
features includes a value
for the intercept. The default is .
Return Value
Type:
CategoricalVectorInt32A vector containing the class with the highest probability
for as predicted by the model for each row in
features.
Numerical Libraries
Supported in: 6.0
Reference