Classifier<T>.Predict Probabilities Method
Definition
Namespace: Numerics.NET.DataAnalysis.Models
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Overload List
Predict | Predicts the probabilities for the possible outcomes based on the supplied features. |
Predict | Predicts the probabilities for the possible outcomes based on the supplied features. |
PredictProbabilities(Matrix<T>, Matrix<T>)
Predicts the probabilities for the possible outcomes based on the
supplied features.
public virtual Matrix<T> PredictProbabilities(
Matrix<T> features,
Matrix<T>? probabilities
)
Parameters
- features Matrix<T>
- A matrix whose rows contain sets of features to make predictions for.
- probabilities Matrix<T>
- Optional. The matrix that is to hold the result. May be null.
Return Value
Matrix<T>A matrix whose rows contain the probabilities for each of the outcomes based on the corresponding row in features.
PredictProbabilities(Vector<T>, Vector<T>)
Predicts the probabilities for the possible outcomes based on the
supplied features.
public abstract Vector<T> PredictProbabilities(
Vector<T> features,
Vector<T>? probabilities
)
Parameters
- features Vector<T>
- A vector of features.
- probabilities Vector<T>
- Optional. The vector that is to hold the result. May be null.
Return Value
Vector<T>A vector containing the probabilities for each of the outcomes based on features.