Predicts the probabilities of each 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 Matrix<double> PredictProbabilitiesCore(
Matrix<T> features,
Matrix<double> probabilities,
bool modelFeaturesOnly
)
Protected Overridable Function PredictProbabilitiesCore (
features As Matrix(Of T),
probabilities As Matrix(Of Double),
modelFeaturesOnly As Boolean
) As Matrix(Of Double)
protected:
virtual Matrix<double>^ PredictProbabilitiesCore(
Matrix<T>^ features,
Matrix<double>^ probabilities,
bool modelFeaturesOnly
)
abstract PredictProbabilitiesCore :
features : Matrix<'T> *
probabilities : Matrix<float> *
modelFeaturesOnly : bool -> Matrix<float>
override PredictProbabilitiesCore :
features : Matrix<'T> *
probabilities : Matrix<float> *
modelFeaturesOnly : bool -> Matrix<float>
Parameters
- features
- Type: Extreme.MathematicsMatrixT
A matrix containing
the values for the independent variables. - probabilities
- Type: Extreme.MathematicsMatrixDouble
A matrix that is to hold the result. - modelFeaturesOnly
- Type: SystemBoolean
Specifies whether
features includes only
features that appear in the fitted model.
Return Value
Type:
MatrixDoubleA matrix whose rows contain the probabilities that
the observation in the corresponding row of
features
belongs to each class.
Reference