BinaryClassificationCatalog Class

Definition

Class used by MLContext to create instances of binary classification components, such as trainers and calibrators.

public sealed class BinaryClassificationCatalog : Microsoft.ML.TrainCatalogBase
type BinaryClassificationCatalog = class
    inherit TrainCatalogBase
Public NotInheritable Class BinaryClassificationCatalog
Inherits TrainCatalogBase
Inheritance
BinaryClassificationCatalog

Properties

Calibrators

The list of trainers for performing binary classification.

Trainers

The list of trainers for performing binary classification.

Methods

ChangeModelThreshold<TModel>(BinaryPredictionTransformer<TModel>, Single)
CrossValidate(IDataView, IEstimator<ITransformer>, Int32, String, String, Nullable<Int32>)

Run cross-validation over numberOfFolds folds of data, by fitting estimator, and respecting samplingKeyColumnName if provided. Then evaluate each sub-model against labelColumnName and return metrics.

CrossValidateNonCalibrated(IDataView, IEstimator<ITransformer>, Int32, String, String, Nullable<Int32>)

Run cross-validation over numberOfFolds folds of data, by fitting estimator, and respecting samplingKeyColumnName if provided. Then evaluate each sub-model against labelColumnName and return metrics.

Evaluate(IDataView, String, String, String, String)

Evaluates scored binary classification data.

EvaluateNonCalibrated(IDataView, String, String, String)

Evaluates scored binary classification data, without probability-based metrics.

Extension Methods

PermutationFeatureImportance<TModel>(BinaryClassificationCatalog, ISingleFeaturePredictionTransformer<TModel>, IDataView, String, Boolean, Nullable<Int32>, Int32)

Permutation Feature Importance (PFI) for Binary Classification.

Applies to