104 writes to LabelColumnName
Microsoft.ML.AutoML (22)
SweepableEstimator\Estimators\FastForest.cs (3)
16
LabelColumnName
= param.LabelColumnName,
35
LabelColumnName
= param.LabelColumnName,
54
LabelColumnName
= param.LabelColumnName,
SweepableEstimator\Estimators\FastTree.cs (4)
19
LabelColumnName
= param.LabelColumnName,
42
LabelColumnName
= param.LabelColumnName,
65
LabelColumnName
= param.LabelColumnName,
88
LabelColumnName
= param.LabelColumnName,
SweepableEstimator\Estimators\Images.cs (1)
49
LabelColumnName
= param.LabelColumnName,
SweepableEstimator\Estimators\Lbfgs.cs (4)
17
LabelColumnName
= param.LabelColumnName,
35
LabelColumnName
= param.LabelColumnName,
53
LabelColumnName
= param.LabelColumnName,
71
LabelColumnName
= param.LabelColumnName,
SweepableEstimator\Estimators\LightGbm.cs (3)
20
LabelColumnName
= param.LabelColumnName,
48
LabelColumnName
= param.LabelColumnName,
76
LabelColumnName
= param.LabelColumnName,
SweepableEstimator\Estimators\Sdca.cs (4)
15
LabelColumnName
= param.LabelColumnName,
33
LabelColumnName
= param.LabelColumnName,
51
LabelColumnName
= param.LabelColumnName,
69
LabelColumnName
= param.LabelColumnName,
TrainerExtensions\BinaryTrainerExtensions.cs (1)
34
options.
LabelColumnName
= columnInfo.LabelColumnName;
TrainerExtensions\TrainerExtensionUtil.cs (2)
60
options.
LabelColumnName
= labelColumn;
87
options.
LabelColumnName
= columnInfo.LabelColumnName;
Microsoft.ML.Core.Tests (1)
UnitTests\TestEntryPoints.cs (1)
4463
LabelColumnName
= DefaultColumnNames.Label,
Microsoft.ML.EntryPoints (1)
OneVersusAllMacro.cs (1)
168
combineArgs.
LabelColumnName
= input.LabelColumnName;
Microsoft.ML.FastTree (2)
FastTree.cs (1)
121
FastTreeTrainerOptions.
LabelColumnName
= label.Name;
GamTrainer.cs (1)
183
GamTrainerOptions.
LabelColumnName
= label.Name;
Microsoft.ML.IntegrationTests (1)
Validation.cs (1)
72
{ RowGroupColumnName = "GroupId",
LabelColumnName
= "Label", FeatureColumnName = "Features" });
Microsoft.ML.LightGbm (5)
LightGbmBinaryTrainer.cs (1)
222
LabelColumnName
= labelColumnName,
LightGbmMulticlassTrainer.cs (1)
163
LabelColumnName
= labelColumnName,
LightGbmRankingTrainer.cs (1)
206
LabelColumnName
= labelColumnName,
LightGbmRegressionTrainer.cs (1)
180
LabelColumnName
= labelColumnName,
LightGbmTrainerBase.cs (1)
333
LabelColumnName
= labelColumn.Name,
Microsoft.ML.Mkl.Components (2)
MklComponentsCatalog.cs (2)
42
LabelColumnName
= labelColumnName,
99
LabelColumnName
= labelColumnName,
Microsoft.ML.PerformanceTests (1)
ImageClassificationBench.cs (1)
83
LabelColumnName
= "Label",
Microsoft.ML.Predictor.Tests (9)
TestPredictors.cs (9)
637
LabelColumnName
= DefaultColumnNames.Label,
660
LabelColumnName
= DefaultColumnNames.Label,
766
LabelColumnName
= DefaultColumnNames.Label,
772
LabelColumnName
= DefaultColumnNames.Label,
780
LabelColumnName
= DefaultColumnNames.Label,
788
LabelColumnName
= DefaultColumnNames.Label,
812
LabelColumnName
= DefaultColumnNames.Label,
818
LabelColumnName
= DefaultColumnNames.Label,
826
LabelColumnName
= DefaultColumnNames.Label,
Microsoft.ML.Samples (21)
Dynamic\Trainers\BinaryClassification\FieldAwareFactorizationMachineWithOptions.cs (1)
37
LabelColumnName
= nameof(DataPoint.Label),
Dynamic\Trainers\MulticlassClassification\ImageClassification\LearningRateSchedulingCifarResnetTransferLearning.cs (1)
81
LabelColumnName
= "Label",
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (1)
67
LabelColumnName
= "Label",
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (1)
67
LabelColumnName
= "Label",
Dynamic\Trainers\Regression\FastForestWithOptions.cs (1)
33
LabelColumnName
= nameof(DataPoint.Label),
Dynamic\Trainers\Regression\FastTreeTweedieWithOptions.cs (1)
33
LabelColumnName
= nameof(DataPoint.Label),
Dynamic\Trainers\Regression\FastTreeWithOptions.cs (1)
33
LabelColumnName
= nameof(DataPoint.Label),
Dynamic\Trainers\Regression\GamWithOptions.cs (1)
33
LabelColumnName
= nameof(DataPoint.Label),
Dynamic\Trainers\Regression\LbfgsPoissonRegressionWithOptions.cs (1)
30
LabelColumnName
= nameof(DataPoint.Label),
Dynamic\Trainers\Regression\LightGbmWithOptions.cs (1)
33
LabelColumnName
= nameof(DataPoint.Label),
Dynamic\Trainers\Regression\LightGbmWithOptionsAdvanced.cs (1)
45
LabelColumnName
= labelName,
Dynamic\Trainers\Regression\OnlineGradientDescentWithOptions.cs (1)
30
LabelColumnName
= nameof(DataPoint.Label),
Dynamic\Trainers\Regression\OrdinaryLeastSquaresWithOptions.cs (1)
30
LabelColumnName
= nameof(DataPoint.Label),
Dynamic\Trainers\Regression\SdcaWithOptions.cs (1)
30
LabelColumnName
= nameof(DataPoint.Label),
Dynamic\Transforms\TreeFeaturization\FastForestBinaryFeaturizationWithOptions.cs (1)
57
LabelColumnName
= labelColumnName
Dynamic\Transforms\TreeFeaturization\FastForestRegressionFeaturizationWithOptions.cs (1)
56
LabelColumnName
= labelColumnName,
Dynamic\Transforms\TreeFeaturization\FastTreeBinaryFeaturizationWithOptions.cs (1)
59
LabelColumnName
= labelColumnName
Dynamic\Transforms\TreeFeaturization\FastTreeRankingFeaturizationWithOptions.cs (1)
55
LabelColumnName
= labelColumnName
Dynamic\Transforms\TreeFeaturization\FastTreeRegressionFeaturizationWithOptions.cs (1)
56
LabelColumnName
= labelColumnName,
Dynamic\Transforms\TreeFeaturization\FastTreeTweedieFeaturizationWithOptions.cs (1)
56
LabelColumnName
= labelColumnName,
Dynamic\Transforms\TreeFeaturization\PretrainedTreeEnsembleFeaturizationWithOptions.cs (1)
46
LabelColumnName
= labelColumnName
Microsoft.ML.Samples.GPU (3)
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\LearningRateSchedulingCifarResnetTransferLearning.cs (1)
81
LabelColumnName
= "Label",
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (1)
67
LabelColumnName
= "Label",
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (1)
67
LabelColumnName
= "Label",
Microsoft.ML.Samples.OneDal (3)
Program.cs (3)
72
options.
LabelColumnName
= labelName;
104
options.
LabelColumnName
= labelName;
136
options.
LabelColumnName
= labelName;
Microsoft.ML.StandardTrainers (9)
Standard\LogisticRegression\LbfgsPredictorBase.cs (3)
216
LabelColumnName
= labelColumn.Name,
242
options.
LabelColumnName
= LabelColumn.Name;
296
LabelColumnName
= labelColumn.Name,
Standard\Online\AveragedPerceptron.cs (1)
181
LabelColumnName
= labelColumnName,
Standard\Online\LinearSvm.cs (1)
286
LabelColumnName
= labelColumn,
Standard\Online\OnlineGradientDescent.cs (1)
153
LabelColumnName
= labelColumn,
Standard\SdcaBinary.cs (2)
295
args.
LabelColumnName
= labelColumn.Name;
1985
_options.
LabelColumnName
= labelColumn;
StandardTrainersCatalog.cs (1)
921
LabelColumnName
= labelColumnName,
Microsoft.ML.Sweeper (1)
Algorithms\SmacSweeper.cs (1)
142
LabelColumnName
= DefaultColumnNames.Label,
Microsoft.ML.TensorFlow.Tests (5)
TensorflowTests.cs (5)
843
LabelColumnName
= "Label",
1503
LabelColumnName
= "Label",
1637
LabelColumnName
= "Label",
1794
LabelColumnName
= "Label",
1873
LabelColumnName
= "Label",
Microsoft.ML.Tests (17)
OnnxConversionTest.cs (2)
81
LabelColumnName
= "Target",
577
LabelColumnName
= "Target",
TrainerEstimators\MetalinearEstimators.cs (1)
90
LabelColumnName
= "Label",
TrainerEstimators\OneDalEstimators.cs (1)
65
options.
LabelColumnName
= "target";
TrainerEstimators\SdcaTests.cs (2)
176
new SdcaMaximumEntropyMulticlassTrainer.Options {
LabelColumnName
= "LabelIndex", NumberOfThreads = 1 }));
180
new SdcaMaximumEntropyMulticlassTrainer.Options {
LabelColumnName
= "LabelIndex", ExampleWeightColumnName = "Weight", NumberOfThreads = 1 }));
TrainerEstimators\TreeEnsembleFeaturizerTest.cs (10)
364
LabelColumnName
= "Label"
403
LabelColumnName
= "Label"
442
LabelColumnName
= "Label"
480
LabelColumnName
= "Label"
518
LabelColumnName
= "Label"
556
LabelColumnName
= "Label"
594
LabelColumnName
= "Label"
649
LabelColumnName
= "Label"
723
LabelColumnName
= "Label"
781
LabelColumnName
= "FloatLabel",
TrainerEstimators\TreeEstimators.cs (1)
199
var trainer = ML.Ranking.Trainers.LightGbm(new LightGbmRankingTrainer.Options() {
LabelColumnName
= "Label0", FeatureColumnName = "NumericFeatures", RowGroupColumnName = "Group", LearningRate = 0.4 });
Microsoft.ML.Vision (1)
ImageClassificationTrainer.cs (1)
514
LabelColumnName
= 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)
60
ComponentFactoryUtils.CreateFromFunction(env => new LinearSvmTrainer(env,
LabelColumnName
, FeatureColumnName))
Trainer\Multiclass\MulticlassDataPartitionEnsembleTrainer.cs (1)
67
ComponentFactoryUtils.CreateFromFunction(env => new LbfgsMaximumEntropyMulticlassTrainer(env,
LabelColumnName
, FeatureColumnName))
Trainer\Regression\RegressionEnsembleTrainer.cs (1)
55
ComponentFactoryUtils.CreateFromFunction(env => new OnlineGradientDescentTrainer(env,
LabelColumnName
, FeatureColumnName))
Microsoft.ML.EntryPoints (5)
ModelOperations.cs (2)
146
var label = TrainUtils.MatchNameOrDefaultOrNull(ch, schema, nameof(input.
LabelColumnName
),
147
input.
LabelColumnName
,
OneVersusAllMacro.cs (3)
122
label = TrainUtils.MatchNameOrDefaultOrNull(ch, schema, nameof(Arguments.
LabelColumnName
),
123
input.
LabelColumnName
,
168
combineArgs.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
))
323
getLabel: () => TrainerEntryPointsUtils.FindColumn(host, input.TrainingData.Schema, input.
LabelColumnName
),
LightGbmMulticlassTrainer.cs (2)
135
: base(env, LoadNameValue, options, TrainerUtils.MakeU4ScalarColumn(options.
LabelColumnName
))
405
getLabel: () => TrainerEntryPointsUtils.FindColumn(host, input.TrainingData.Schema, input.
LabelColumnName
),
LightGbmRankingTrainer.cs (2)
177
: base(env, LoadNameValue, options, TrainerUtils.MakeR4ScalarColumn(options.
LabelColumnName
))
335
getLabel: () => TrainerEntryPointsUtils.FindColumn(host, input.TrainingData.Schema, input.
LabelColumnName
),
LightGbmRegressionTrainer.cs (2)
192
: base(env, LoadNameValue, options, TrainerUtils.MakeR4ScalarColumn(options.
LabelColumnName
))
283
getLabel: () => TrainerEntryPointsUtils.FindColumn(host, input.TrainingData.Schema, input.
LabelColumnName
),
Microsoft.ML.Mkl.Components (4)
OlsLinearRegression.cs (2)
122
TrainerUtils.MakeR4ScalarColumn(options.
LabelColumnName
), TrainerUtils.MakeR4ScalarWeightColumn(options.ExampleWeightColumnName))
684
() => TrainerEntryPointsUtils.FindColumn(host, options.TrainingData.Schema, options.
LabelColumnName
),
SymSgdClassificationTrainer.cs (2)
242
TrainerUtils.MakeBoolScalarLabel(options.
LabelColumnName
))
295
() => TrainerEntryPointsUtils.FindColumn(host, options.TrainingData.Schema, options.
LabelColumnName
));
Microsoft.ML.StandardTrainers (26)
FactorizationMachine\FactorizationMachineTrainer.cs (2)
239
LabelColumn = 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)
167
TrainerUtils.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)
109
TrainerUtils.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)
529
TrainerUtils.MakeU4ScalarColumn(options.
LabelColumnName
))
533
Host.CheckNonEmpty(options.
LabelColumnName
, nameof(options.
LabelColumnName
));
600
var labelColumn = input.Schema.GetColumnOrNull(_options.
LabelColumnName
).Value;
609
var 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";
621
AddTransferLearningLayer(_options.
LabelColumnName
, _options.ScoreColumnName, _options.LearningRate,
634
bool success = inputSchema.TryFindColumn(_options.
LabelColumnName
, out _);
683
CacheFeaturizedImagesToDisk(validationSet, _options.
LabelColumnName
,
696
CacheFeaturizedImagesToDisk(trainContext.TrainingSet.Data, _options.
LabelColumnName
,
731
Host.CheckNonWhiteSpace(options.
LabelColumnName
, nameof(options.
LabelColumnName
));
1171
var (_, _, groundTruthInput, finalTensor) = AddFinalRetrainOps(classCount, _options.
LabelColumnName
,