1 write to LabelColumn
Microsoft.ML.StandardTrainers (1)
Standard\MulticlassClassification\MetaMulticlassTrainer.cs (1)
71LabelColumn = new SchemaShape.Column(labelColumn, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.UInt32, true);
12 references to LabelColumn
Microsoft.ML.StandardTrainers (12)
Standard\MulticlassClassification\MetaMulticlassTrainer.cs (8)
145if (LabelColumn.IsValid) 147if (!inputSchema.TryFindColumn(LabelColumn.Name, out var labelCol)) 148throw Host.ExceptSchemaMismatch(nameof(labelCol), "label", LabelColumn.Name); 150if (!LabelColumn.IsCompatibleWith(labelCol)) 151throw Host.ExceptSchemaMismatch(nameof(inputSchema), "label", LabelColumn.Name, LabelColumn.GetTypeString(), labelCol.GetTypeString()); 166if (LabelColumn.IsValid) 168bool success = inputSchema.TryFindColumn(LabelColumn.Name, out var inputLabelCol);
Standard\MulticlassClassification\OneVersusAllTrainer.cs (2)
213roles[0] = new KeyValuePair<CR, string>(new CR(DefaultColumnNames.Label), LabelColumn.Name); 237return new MulticlassPredictionTransformer<OneVersusAllModelParameters>(Host, OneVersusAllModelParameters.Create(Host, _options.UseProbabilities, predictors), input.Schema, featureColumn, LabelColumn.Name);
Standard\MulticlassClassification\PairwiseCouplingTrainer.cs (2)
191roles[0] = new KeyValuePair<CR, string>(new CR(DefaultColumnNames.Label), LabelColumn.Name); 220return new MulticlassPredictionTransformer<PairwiseCouplingModelParameters>(Host, new PairwiseCouplingModelParameters(Host, predictors), input.Schema, featureColumn, LabelColumn.Name);