ClassificationModel<T>.PredictProbabilities Method

Definition

Namespace: Extreme.DataAnalysis.Models
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

PredictProbabilities(IDataFrame, ModelInputFormat) Predicts the value of the output corresponding to the specified input.
PredictProbabilities(Matrix<T>, ModelInputFormat) Predicts the value of the output corresponding to the specified features.
PredictProbabilities(Vector<T>, ModelInputFormat) Predicts the value of the output corresponding to the specified input.

ClassificationModel<T>.PredictProbabilities(IDataFrame, ModelInputFormat)

Predicts the value of the output corresponding to the specified input.
C#
public Matrix<double> PredictProbabilities(
	IDataFrame features,
	ModelInputFormat format = ModelInputFormat.Automatic
)

Parameters

features  IDataFrame
A data frame that contains the input features for the regression.
format  ModelInputFormat  (Optional)
A ModelInputFormat value that specifies how the elements in features relate to the variables in the model.

Return Value

Matrix<Double>
The predicted value.

ClassificationModel<T>.PredictProbabilities(Matrix<T>, ModelInputFormat)

Predicts the value of the output corresponding to the specified features.
C#
public Matrix<double> PredictProbabilities(
	Matrix<T> features,
	ModelInputFormat format = ModelInputFormat.Automatic
)

Parameters

features  Matrix<T>
A matrix that contains the input values for the regression.
format  ModelInputFormat  (Optional)
A ModelInputFormat value that specifies how the elements in features relate to the variables in the model.

Return Value

Matrix<Double>
The predicted value.

ClassificationModel<T>.PredictProbabilities(Vector<T>, ModelInputFormat)

Predicts the value of the output corresponding to the specified input.
C#
public Vector<double> PredictProbabilities(
	Vector<T> features,
	ModelInputFormat format = ModelInputFormat.Automatic
)

Parameters

features  Vector<T>
A vector that contains the input values for the regression.
format  ModelInputFormat  (Optional)
A ModelInputFormat value that specifies how the elements in features relate to the variables in the model.

Return Value

Vector<Double>
The predicted value.

See Also