语言

MulticlassClassificationCatalog 类

定义

用于 MLContext 创建多类分类组件的实例(例如训练器)的类。

public sealed class MulticlassClassificationCatalog : Microsoft.ML.TrainCatalogBase
type MulticlassClassificationCatalog = class
    inherit TrainCatalogBase
Public NotInheritable Class MulticlassClassificationCatalog
Inherits TrainCatalogBase
继承
MulticlassClassificationCatalog

属性

名称 说明
Trainers

执行多类分类的训练程序列表。

方法

名称 说明
CrossValidate(IDataView, IEstimator<ITransformer>, Int32, String, String, Nullable<Int32>)

通过拟合和尊重samplingKeyColumnName(如果提供)的折叠data运行交叉验证numberOfFolds。estimator 然后根据 labelColumnName 每个子模型评估并返回指标。

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

评估评分的多类分类数据。

扩展方法

名称 说明
EvaluateObjectDetection(MulticlassClassificationCatalog, IDataView, DataViewSchema+Column, DataViewSchema+Column, DataViewSchema+Column, DataViewSchema+Column, DataViewSchema+Column)

评估评分的对象检测数据。

PermutationFeatureImportance(MulticlassClassificationCatalog, ITransformer, IDataView, String, Boolean, Nullable<Int32>, Int32)

多类类分类的排列特征重要性(PFI)。

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

多类类分类的排列特征重要性(PFI)。

适用于