Classifier<T>.PredictLogProbabilities Method

Definition

Namespace: Numerics.NET.DataAnalysis.Models
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4

Overload List

PredictLogProbabilities(Matrix<T>, Matrix<T>) Predicts the logarithms of the probabilities for the possible outcomes based on the supplied features.
PredictLogProbabilities(Vector<T>, Vector<T>) Predicts the natural logarithms of the probabilities for the possible outcomes based on the supplied features.

PredictLogProbabilities(Matrix<T>, Matrix<T>)

Predicts the logarithms of the probabilities for the possible outcomes based on the supplied features.
C#
public virtual Matrix<T> PredictLogProbabilities(
	Matrix<T> features,
	Matrix<T> logProbabilities
)

Parameters

features  Matrix<T>
A matrix whose rows contain sets of features to make predictions for.
logProbabilities  Matrix<T>
Optional. The matrix that is to hold the result. May be null.

Return Value

Matrix<T>
A matrix whose rows contain the logarithms of the probabilities for each of the outcomes based on the corresponding row in features.

PredictLogProbabilities(Vector<T>, Vector<T>)

Predicts the natural logarithms of the probabilities for the possible outcomes based on the supplied features.
C#
public virtual Vector<T> PredictLogProbabilities(
	Vector<T> features,
	Vector<T> logProbabilities
)

Parameters

features  Vector<T>
A vector of features.
logProbabilities  Vector<T>
Optional. The vector that is to hold the result. May be null.

Return Value

Vector<T>
A vector containing the logarithms of the probabilities for each of the outcomes based on features.

See Also