1 write to LabelColumn
Microsoft.ML.Data (1)
Training\TrainerEstimatorBase.cs (1)
68
LabelColumn
= label;
20 references to LabelColumn
Microsoft.ML.Data (9)
Training\TrainerEstimatorBase.cs (9)
125
if (
LabelColumn
.IsValid)
127
if (!inputSchema.TryFindColumn(
LabelColumn
.Name, out var labelCol))
128
throw Host.ExceptSchemaMismatch(nameof(inputSchema), "label",
LabelColumn
.Name);
136
Host.Assert(
LabelColumn
.IsValid);
138
if (!
LabelColumn
.IsCompatibleWith(labelCol))
139
throw Host.ExceptSchemaMismatch(nameof(labelCol), "label",
LabelColumn
.Name,
140
LabelColumn
.GetTypeString(), labelCol.GetTypeString());
166
new RoleMappedData(data, label:
LabelColumn
.Name, feature: FeatureColumn.Name, weight: WeightColumn.Name);
198
new RoleMappedData(data, label:
LabelColumn
.Name, feature: FeatureColumn.Name, group: GroupIdColumn.Name, weight: WeightColumn.Name);
Microsoft.ML.LightGbm (2)
LightGbmMulticlassTrainer.cs (2)
363
bool success = inputSchema.TryFindColumn(
LabelColumn
.Name, out labelCol);
376
=> new MulticlassPredictionTransformer<OneVersusAllModelParameters>(Host, model, trainSchema, FeatureColumn.Name,
LabelColumn
.Name);
Microsoft.ML.StandardTrainers (8)
Standard\LogisticRegression\LbfgsPredictorBase.cs (1)
242
options.LabelColumnName =
LabelColumn
.Name;
Standard\LogisticRegression\MulticlassLogisticRegression.cs (2)
371
bool success = inputSchema.TryFindColumn(
LabelColumn
.Name, out var labelCol);
384
=> new MulticlassPredictionTransformer<MaximumEntropyModelParameters>(Host, model, trainSchema, FeatureColumn.Name,
LabelColumn
.Name);
Standard\MulticlassClassification\MulticlassNaiveBayesTrainer.cs (2)
116
bool success = inputSchema.TryFindColumn(
LabelColumn
.Name, out var labelCol);
130
=> new MulticlassPredictionTransformer<NaiveBayesMulticlassModelParameters>(Host, model, trainSchema, FeatureColumn.Name,
LabelColumn
.Name);
Standard\SdcaMulticlass.cs (3)
161
bool success = inputSchema.TryFindColumn(
LabelColumn
.Name, out var labelCol);
566
new MulticlassPredictionTransformer<MaximumEntropyModelParameters>(Host, model, trainSchema, FeatureColumn.Name,
LabelColumn
.Name);
663
new MulticlassPredictionTransformer<LinearMulticlassModelParameters>(Host, model, trainSchema, FeatureColumn.Name,
LabelColumn
.Name);
Microsoft.ML.Vision (1)
ImageClassificationTrainer.cs (1)
652
FeatureColumn.Name,
LabelColumn
.Name, _options.ScoreColumnName, _options.PredictedLabelColumnName);