104 writes to LabelColumnName
Microsoft.ML.AutoML (22)
SweepableEstimator\Estimators\FastForest.cs (3)
16LabelColumnName = param.LabelColumnName, 35LabelColumnName = param.LabelColumnName, 54LabelColumnName = param.LabelColumnName,
SweepableEstimator\Estimators\FastTree.cs (4)
19LabelColumnName = param.LabelColumnName, 42LabelColumnName = param.LabelColumnName, 65LabelColumnName = param.LabelColumnName, 88LabelColumnName = param.LabelColumnName,
SweepableEstimator\Estimators\Images.cs (1)
49LabelColumnName = param.LabelColumnName,
SweepableEstimator\Estimators\Lbfgs.cs (4)
17LabelColumnName = param.LabelColumnName, 35LabelColumnName = param.LabelColumnName, 53LabelColumnName = param.LabelColumnName, 71LabelColumnName = param.LabelColumnName,
SweepableEstimator\Estimators\LightGbm.cs (3)
20LabelColumnName = param.LabelColumnName, 48LabelColumnName = param.LabelColumnName, 76LabelColumnName = param.LabelColumnName,
SweepableEstimator\Estimators\Sdca.cs (4)
15LabelColumnName = param.LabelColumnName, 33LabelColumnName = param.LabelColumnName, 51LabelColumnName = param.LabelColumnName, 69LabelColumnName = param.LabelColumnName,
TrainerExtensions\BinaryTrainerExtensions.cs (1)
34options.LabelColumnName = columnInfo.LabelColumnName;
TrainerExtensions\TrainerExtensionUtil.cs (2)
60options.LabelColumnName = labelColumn; 87options.LabelColumnName = columnInfo.LabelColumnName;
Microsoft.ML.Core.Tests (1)
UnitTests\TestEntryPoints.cs (1)
4463LabelColumnName = DefaultColumnNames.Label,
Microsoft.ML.EntryPoints (1)
OneVersusAllMacro.cs (1)
168combineArgs.LabelColumnName = input.LabelColumnName;
Microsoft.ML.FastTree (2)
FastTree.cs (1)
121FastTreeTrainerOptions.LabelColumnName = label.Name;
GamTrainer.cs (1)
183GamTrainerOptions.LabelColumnName = label.Name;
Microsoft.ML.IntegrationTests (1)
Validation.cs (1)
72{ RowGroupColumnName = "GroupId", LabelColumnName = "Label", FeatureColumnName = "Features" });
Microsoft.ML.LightGbm (5)
LightGbmBinaryTrainer.cs (1)
222LabelColumnName = labelColumnName,
LightGbmMulticlassTrainer.cs (1)
163LabelColumnName = labelColumnName,
LightGbmRankingTrainer.cs (1)
206LabelColumnName = labelColumnName,
LightGbmRegressionTrainer.cs (1)
180LabelColumnName = labelColumnName,
LightGbmTrainerBase.cs (1)
333LabelColumnName = labelColumn.Name,
Microsoft.ML.Mkl.Components (2)
MklComponentsCatalog.cs (2)
42LabelColumnName = labelColumnName, 99LabelColumnName = labelColumnName,
Microsoft.ML.PerformanceTests (1)
ImageClassificationBench.cs (1)
83LabelColumnName = "Label",
Microsoft.ML.Predictor.Tests (9)
TestPredictors.cs (9)
637LabelColumnName = DefaultColumnNames.Label, 660LabelColumnName = DefaultColumnNames.Label, 766LabelColumnName = DefaultColumnNames.Label, 772LabelColumnName = DefaultColumnNames.Label, 780LabelColumnName = DefaultColumnNames.Label, 788LabelColumnName = DefaultColumnNames.Label, 812LabelColumnName = DefaultColumnNames.Label, 818LabelColumnName = DefaultColumnNames.Label, 826LabelColumnName = DefaultColumnNames.Label,
Microsoft.ML.Samples (21)
Dynamic\Trainers\BinaryClassification\FieldAwareFactorizationMachineWithOptions.cs (1)
37LabelColumnName = nameof(DataPoint.Label),
Dynamic\Trainers\MulticlassClassification\ImageClassification\LearningRateSchedulingCifarResnetTransferLearning.cs (1)
81LabelColumnName = "Label",
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (1)
67LabelColumnName = "Label",
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (1)
67LabelColumnName = "Label",
Dynamic\Trainers\Regression\FastForestWithOptions.cs (1)
33LabelColumnName = nameof(DataPoint.Label),
Dynamic\Trainers\Regression\FastTreeTweedieWithOptions.cs (1)
33LabelColumnName = nameof(DataPoint.Label),
Dynamic\Trainers\Regression\FastTreeWithOptions.cs (1)
33LabelColumnName = nameof(DataPoint.Label),
Dynamic\Trainers\Regression\GamWithOptions.cs (1)
33LabelColumnName = nameof(DataPoint.Label),
Dynamic\Trainers\Regression\LbfgsPoissonRegressionWithOptions.cs (1)
30LabelColumnName = nameof(DataPoint.Label),
Dynamic\Trainers\Regression\LightGbmWithOptions.cs (1)
33LabelColumnName = nameof(DataPoint.Label),
Dynamic\Trainers\Regression\LightGbmWithOptionsAdvanced.cs (1)
45LabelColumnName = labelName,
Dynamic\Trainers\Regression\OnlineGradientDescentWithOptions.cs (1)
30LabelColumnName = nameof(DataPoint.Label),
Dynamic\Trainers\Regression\OrdinaryLeastSquaresWithOptions.cs (1)
30LabelColumnName = nameof(DataPoint.Label),
Dynamic\Trainers\Regression\SdcaWithOptions.cs (1)
30LabelColumnName = nameof(DataPoint.Label),
Dynamic\Transforms\TreeFeaturization\FastForestBinaryFeaturizationWithOptions.cs (1)
57LabelColumnName = labelColumnName
Dynamic\Transforms\TreeFeaturization\FastForestRegressionFeaturizationWithOptions.cs (1)
56LabelColumnName = labelColumnName,
Dynamic\Transforms\TreeFeaturization\FastTreeBinaryFeaturizationWithOptions.cs (1)
59LabelColumnName = labelColumnName
Dynamic\Transforms\TreeFeaturization\FastTreeRankingFeaturizationWithOptions.cs (1)
55LabelColumnName = labelColumnName
Dynamic\Transforms\TreeFeaturization\FastTreeRegressionFeaturizationWithOptions.cs (1)
56LabelColumnName = labelColumnName,
Dynamic\Transforms\TreeFeaturization\FastTreeTweedieFeaturizationWithOptions.cs (1)
56LabelColumnName = labelColumnName,
Dynamic\Transforms\TreeFeaturization\PretrainedTreeEnsembleFeaturizationWithOptions.cs (1)
46LabelColumnName = labelColumnName
Microsoft.ML.Samples.GPU (3)
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\LearningRateSchedulingCifarResnetTransferLearning.cs (1)
81LabelColumnName = "Label",
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (1)
67LabelColumnName = "Label",
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (1)
67LabelColumnName = "Label",
Microsoft.ML.Samples.OneDal (3)
Program.cs (3)
72options.LabelColumnName = labelName; 104options.LabelColumnName = labelName; 136options.LabelColumnName = labelName;
Microsoft.ML.StandardTrainers (9)
Standard\LogisticRegression\LbfgsPredictorBase.cs (3)
216LabelColumnName = labelColumn.Name, 242options.LabelColumnName = LabelColumn.Name; 296LabelColumnName = labelColumn.Name,
Standard\Online\AveragedPerceptron.cs (1)
181LabelColumnName = labelColumnName,
Standard\Online\LinearSvm.cs (1)
286LabelColumnName = labelColumn,
Standard\Online\OnlineGradientDescent.cs (1)
153LabelColumnName = labelColumn,
Standard\SdcaBinary.cs (2)
295args.LabelColumnName = labelColumn.Name; 1985_options.LabelColumnName = labelColumn;
StandardTrainersCatalog.cs (1)
921LabelColumnName = labelColumnName,
Microsoft.ML.Sweeper (1)
Algorithms\SmacSweeper.cs (1)
142LabelColumnName = DefaultColumnNames.Label,
Microsoft.ML.TensorFlow.Tests (5)
TensorflowTests.cs (5)
843LabelColumnName = "Label", 1503LabelColumnName = "Label", 1637LabelColumnName = "Label", 1794LabelColumnName = "Label", 1873LabelColumnName = "Label",
Microsoft.ML.Tests (17)
OnnxConversionTest.cs (2)
81LabelColumnName = "Target", 577LabelColumnName = "Target",
TrainerEstimators\MetalinearEstimators.cs (1)
90LabelColumnName = "Label",
TrainerEstimators\OneDalEstimators.cs (1)
65options.LabelColumnName = "target";
TrainerEstimators\SdcaTests.cs (2)
176new SdcaMaximumEntropyMulticlassTrainer.Options { LabelColumnName = "LabelIndex", NumberOfThreads = 1 })); 180new SdcaMaximumEntropyMulticlassTrainer.Options { LabelColumnName = "LabelIndex", ExampleWeightColumnName = "Weight", NumberOfThreads = 1 }));
TrainerEstimators\TreeEnsembleFeaturizerTest.cs (10)
364LabelColumnName = "Label" 403LabelColumnName = "Label" 442LabelColumnName = "Label" 480LabelColumnName = "Label" 518LabelColumnName = "Label" 556LabelColumnName = "Label" 594LabelColumnName = "Label" 649LabelColumnName = "Label" 723LabelColumnName = "Label" 781LabelColumnName = "FloatLabel",
TrainerEstimators\TreeEstimators.cs (1)
199var trainer = ML.Ranking.Trainers.LightGbm(new LightGbmRankingTrainer.Options() { LabelColumnName = "Label0", FeatureColumnName = "NumericFeatures", RowGroupColumnName = "Group", LearningRate = 0.4 });
Microsoft.ML.Vision (1)
ImageClassificationTrainer.cs (1)
514LabelColumnName = labelColumn,
77 references to LabelColumnName
Microsoft.ML.Ensemble (6)
EntryPoints\Ensemble.cs (3)
26() => TrainerEntryPointsUtils.FindColumn(host, input.TrainingData.Schema, input.LabelColumnName)); 39() => TrainerEntryPointsUtils.FindColumn(host, input.TrainingData.Schema, input.LabelColumnName)); 52() => TrainerEntryPointsUtils.FindColumn(host, input.TrainingData.Schema, input.LabelColumnName));
Trainer\Binary\EnsembleTrainer.cs (1)
60ComponentFactoryUtils.CreateFromFunction(env => new LinearSvmTrainer(env, LabelColumnName, FeatureColumnName))
Trainer\Multiclass\MulticlassDataPartitionEnsembleTrainer.cs (1)
67ComponentFactoryUtils.CreateFromFunction(env => new LbfgsMaximumEntropyMulticlassTrainer(env, LabelColumnName, FeatureColumnName))
Trainer\Regression\RegressionEnsembleTrainer.cs (1)
55ComponentFactoryUtils.CreateFromFunction(env => new OnlineGradientDescentTrainer(env, LabelColumnName, FeatureColumnName))
Microsoft.ML.EntryPoints (5)
ModelOperations.cs (2)
146var label = TrainUtils.MatchNameOrDefaultOrNull(ch, schema, nameof(input.LabelColumnName), 147input.LabelColumnName,
OneVersusAllMacro.cs (3)
122label = TrainUtils.MatchNameOrDefaultOrNull(ch, schema, nameof(Arguments.LabelColumnName), 123input.LabelColumnName, 168combineArgs.LabelColumnName = input.LabelColumnName;
Microsoft.ML.FastTree (16)
FastTreeClassification.cs (2)
176: base(env, options, TrainerUtils.MakeBoolScalarLabel(options.LabelColumnName)) 443() => TrainerEntryPointsUtils.FindColumn(host, input.TrainingData.Schema, input.LabelColumnName),
FastTreeRanking.cs (2)
116: base(env, options, TrainerUtils.MakeR4ScalarColumn(options.LabelColumnName)) 1092() => TrainerEntryPointsUtils.FindColumn(host, input.TrainingData.Schema, input.LabelColumnName),
FastTreeRegression.cs (2)
104: base(env, options, TrainerUtils.MakeR4ScalarColumn(options.LabelColumnName)) 543() => TrainerEntryPointsUtils.FindColumn(host, input.TrainingData.Schema, input.LabelColumnName),
FastTreeTweedie.cs (2)
112: base(env, options, TrainerUtils.MakeR4ScalarColumn(options.LabelColumnName)) 579() => TrainerEntryPointsUtils.FindColumn(host, input.TrainingData.Schema, input.LabelColumnName),
GamClassification.cs (1)
86: base(env, options, LoadNameValue, TrainerUtils.MakeBoolScalarLabel(options.LabelColumnName))
GamRegression.cs (1)
78: base(env, options, LoadNameValue, TrainerUtils.MakeR4ScalarColumn(options.LabelColumnName)) { }
GamTrainer.cs (2)
695() => TrainerEntryPointsUtils.FindColumn(host, input.TrainingData.Schema, input.LabelColumnName), 709() => TrainerEntryPointsUtils.FindColumn(host, input.TrainingData.Schema, input.LabelColumnName),
RandomForestClassification.cs (2)
207: base(env, options, TrainerUtils.MakeBoolScalarLabel(options.LabelColumnName)) 419() => TrainerEntryPointsUtils.FindColumn(host, input.TrainingData.Schema, input.LabelColumnName),
RandomForestRegression.cs (2)
346: base(env, options, TrainerUtils.MakeR4ScalarColumn(options.LabelColumnName), true) 604() => TrainerEntryPointsUtils.FindColumn(host, input.TrainingData.Schema, input.LabelColumnName),
Microsoft.ML.LightGbm (8)
LightGbmBinaryTrainer.cs (2)
194: base(env, LoadNameValue, options, TrainerUtils.MakeBoolScalarLabel(options.LabelColumnName)) 323getLabel: () => TrainerEntryPointsUtils.FindColumn(host, input.TrainingData.Schema, input.LabelColumnName),
LightGbmMulticlassTrainer.cs (2)
135: base(env, LoadNameValue, options, TrainerUtils.MakeU4ScalarColumn(options.LabelColumnName)) 405getLabel: () => TrainerEntryPointsUtils.FindColumn(host, input.TrainingData.Schema, input.LabelColumnName),
LightGbmRankingTrainer.cs (2)
177: base(env, LoadNameValue, options, TrainerUtils.MakeR4ScalarColumn(options.LabelColumnName)) 335getLabel: () => TrainerEntryPointsUtils.FindColumn(host, input.TrainingData.Schema, input.LabelColumnName),
LightGbmRegressionTrainer.cs (2)
192: base(env, LoadNameValue, options, TrainerUtils.MakeR4ScalarColumn(options.LabelColumnName)) 283getLabel: () => TrainerEntryPointsUtils.FindColumn(host, input.TrainingData.Schema, input.LabelColumnName),
Microsoft.ML.Mkl.Components (4)
OlsLinearRegression.cs (2)
122TrainerUtils.MakeR4ScalarColumn(options.LabelColumnName), TrainerUtils.MakeR4ScalarWeightColumn(options.ExampleWeightColumnName)) 684() => TrainerEntryPointsUtils.FindColumn(host, options.TrainingData.Schema, options.LabelColumnName),
SymSgdClassificationTrainer.cs (2)
242TrainerUtils.MakeBoolScalarLabel(options.LabelColumnName)) 295() => TrainerEntryPointsUtils.FindColumn(host, options.TrainingData.Schema, options.LabelColumnName));
Microsoft.ML.StandardTrainers (26)
FactorizationMachine\FactorizationMachineTrainer.cs (2)
239LabelColumn = new SchemaShape.Column(options.LabelColumnName, SchemaShape.Column.VectorKind.Scalar, BooleanDataViewType.Instance, false); 581() => TrainerEntryPointsUtils.FindColumn(host, input.TrainingData.Schema, input.LabelColumnName));
LdSvm\LdSvmTrainer.cs (2)
167TrainerUtils.MakeBoolScalarLabel(options.LabelColumnName), 678() => TrainerEntryPointsUtils.FindColumn(host, input.TrainingData.Schema, input.LabelColumnName),
Standard\LogisticRegression\LogisticRegression.cs (2)
155: base(env, options, TrainerUtils.MakeBoolScalarLabel(options.LabelColumnName)) 475() => TrainerEntryPointsUtils.FindColumn(host, input.TrainingData.Schema, input.LabelColumnName),
Standard\LogisticRegression\MulticlassLogisticRegression.cs (2)
162: base(env, options, TrainerUtils.MakeU4ScalarColumn(options.LabelColumnName)) 406() => TrainerEntryPointsUtils.FindColumn(host, input.TrainingData.Schema, input.LabelColumnName),
Standard\MulticlassClassification\MulticlassNaiveBayesTrainer.cs (2)
109TrainerUtils.MakeU4ScalarColumn(options.LabelColumnName)) 217() => TrainerEntryPointsUtils.FindColumn(host, input.TrainingData.Schema, input.LabelColumnName));
Standard\Online\AveragedPerceptron.cs (2)
153: base(options, env, UserNameValue, TrainerUtils.MakeBoolScalarLabel(options.LabelColumnName)) 233() => TrainerEntryPointsUtils.FindColumn(host, input.TrainingData.Schema, input.LabelColumnName),
Standard\Online\LinearSvm.cs (2)
295: base(options, env, UserNameValue, TrainerUtils.MakeBoolScalarLabel(options.LabelColumnName)) 333() => TrainerEntryPointsUtils.FindColumn(host, input.TrainingData.Schema, input.LabelColumnName),
Standard\Online\OnlineGradientDescent.cs (2)
161: base(options, env, UserNameValue, TrainerUtils.MakeR4ScalarColumn(options.LabelColumnName)) 199() => TrainerEntryPointsUtils.FindColumn(host, input.TrainingData.Schema, input.LabelColumnName));
Standard\PoissonRegression\PoissonRegression.cs (2)
107: base(env, options, TrainerUtils.MakeR4ScalarColumn(options.LabelColumnName)) 221() => TrainerEntryPointsUtils.FindColumn(host, input.TrainingData.Schema, input.LabelColumnName),
Standard\SdcaBinary.cs (4)
1514: base(env, options, TrainerUtils.MakeBoolScalarLabel(options.LabelColumnName), TrainerUtils.MakeR4ScalarWeightColumn(options.ExampleWeightColumnName)) 1999: base(env, options.FeatureColumnName, TrainerUtils.MakeBoolScalarLabel(options.LabelColumnName), options.ExampleWeightColumnName) 2476() => TrainerEntryPointsUtils.FindColumn(host, input.TrainingData.Schema, input.LabelColumnName), 2500() => TrainerEntryPointsUtils.FindColumn(host, input.TrainingData.Schema, input.LabelColumnName),
Standard\SdcaMulticlass.cs (2)
155: this(env, options, options.FeatureColumnName, options.LabelColumnName, options.ExampleWeightColumnName) 684() => TrainerEntryPointsUtils.FindColumn(host, input.TrainingData.Schema, input.LabelColumnName));
Standard\SdcaRegression.cs (2)
140: this(env, options, options.FeatureColumnName, options.LabelColumnName, options.ExampleWeightColumnName) 223() => TrainerEntryPointsUtils.FindColumn(host, input.TrainingData.Schema, input.LabelColumnName));
Microsoft.ML.Vision (12)
ImageClassificationTrainer.cs (12)
529TrainerUtils.MakeU4ScalarColumn(options.LabelColumnName)) 533Host.CheckNonEmpty(options.LabelColumnName, nameof(options.LabelColumnName)); 600var labelColumn = input.Schema.GetColumnOrNull(_options.LabelColumnName).Value; 609var msg = $"Only one class found in the {_options.LabelColumnName} column. To build a multiclass classification model, the number of classes needs to be 2 or greater"; 621AddTransferLearningLayer(_options.LabelColumnName, _options.ScoreColumnName, _options.LearningRate, 634bool success = inputSchema.TryFindColumn(_options.LabelColumnName, out _); 683CacheFeaturizedImagesToDisk(validationSet, _options.LabelColumnName, 696CacheFeaturizedImagesToDisk(trainContext.TrainingSet.Data, _options.LabelColumnName, 731Host.CheckNonWhiteSpace(options.LabelColumnName, nameof(options.LabelColumnName)); 1171var (_, _, groundTruthInput, finalTensor) = AddFinalRetrainOps(classCount, _options.LabelColumnName,