45 writes to ExampleWeightColumnName
Microsoft.ML.AutoML (29)
SweepableEstimator\Estimators\FastForest.cs (3)
18ExampleWeightColumnName = param.ExampleWeightColumnName, 37ExampleWeightColumnName = param.ExampleWeightColumnName, 56ExampleWeightColumnName = param.ExampleWeightColumnName,
SweepableEstimator\Estimators\FastTree.cs (4)
21ExampleWeightColumnName = param.ExampleWeightColumnName, 44ExampleWeightColumnName = param.ExampleWeightColumnName, 67ExampleWeightColumnName = param.ExampleWeightColumnName, 90ExampleWeightColumnName = param.ExampleWeightColumnName,
SweepableEstimator\Estimators\Lbfgs.cs (4)
19ExampleWeightColumnName = param.ExampleWeightColumnName, 37ExampleWeightColumnName = param.ExampleWeightColumnName, 55ExampleWeightColumnName = param.ExampleWeightColumnName, 73ExampleWeightColumnName = param.ExampleWeightColumnName,
SweepableEstimator\Estimators\LightGbm.cs (3)
22ExampleWeightColumnName = param.ExampleWeightColumnName, 50ExampleWeightColumnName = param.ExampleWeightColumnName, 78ExampleWeightColumnName = param.ExampleWeightColumnName,
SweepableEstimator\Estimators\Sdca.cs (4)
17ExampleWeightColumnName = param.ExampleWeightColumnName, 35ExampleWeightColumnName = param.ExampleWeightColumnName, 53ExampleWeightColumnName = param.ExampleWeightColumnName, 71ExampleWeightColumnName = param.ExampleWeightColumnName,
TrainerExtensions\BinaryTrainerExtensions.cs (4)
75options.ExampleWeightColumnName = columnInfo.ExampleWeightColumnName; 97options.ExampleWeightColumnName = columnInfo.ExampleWeightColumnName; 182options.ExampleWeightColumnName = columnInfo.ExampleWeightColumnName; 204options.ExampleWeightColumnName = columnInfo.ExampleWeightColumnName;
TrainerExtensions\MultiTrainerExtensions.cs (1)
223options.ExampleWeightColumnName = columnInfo.ExampleWeightColumnName;
TrainerExtensions\RegressionTrainerExtensions.cs (5)
26options.ExampleWeightColumnName = columnInfo.ExampleWeightColumnName; 48options.ExampleWeightColumnName = columnInfo.ExampleWeightColumnName; 70options.ExampleWeightColumnName = columnInfo.ExampleWeightColumnName; 134options.ExampleWeightColumnName = columnInfo.ExampleWeightColumnName; 156options.ExampleWeightColumnName = columnInfo.ExampleWeightColumnName;
TrainerExtensions\TrainerExtensionUtil.cs (1)
88options.ExampleWeightColumnName = columnInfo.ExampleWeightColumnName;
Microsoft.ML.FastTree (2)
FastTree.cs (1)
123FastTreeTrainerOptions.ExampleWeightColumnName = exampleWeightColumnName;
GamTrainer.cs (1)
187GamTrainerOptions.ExampleWeightColumnName = weightCrowGroupColumnName;
Microsoft.ML.LightGbm (5)
LightGbmBinaryTrainer.cs (1)
224ExampleWeightColumnName = exampleWeightColumnName,
LightGbmMulticlassTrainer.cs (1)
165ExampleWeightColumnName = exampleWeightColumnName,
LightGbmRankingTrainer.cs (1)
208ExampleWeightColumnName = weightsColumnName,
LightGbmRegressionTrainer.cs (1)
182ExampleWeightColumnName = exampleWeightColumnName,
LightGbmTrainerBase.cs (1)
335ExampleWeightColumnName = exampleWeightColumnName,
Microsoft.ML.Mkl.Components (1)
MklComponentsCatalog.cs (1)
44ExampleWeightColumnName = exampleWeightColumnName
Microsoft.ML.StandardTrainers (6)
Standard\LogisticRegression\LbfgsPredictorBase.cs (4)
217ExampleWeightColumnName = weightColumn, 243options.ExampleWeightColumnName = WeightColumn.Name; 297ExampleWeightColumnName = weightColumn, 305args.ExampleWeightColumnName = weightColumn;
Standard\SdcaBinary.cs (1)
1986_options.ExampleWeightColumnName = weightColumn;
StandardTrainersCatalog.cs (1)
923ExampleWeightColumnName = exampleWeightColumnName,
Microsoft.ML.Tests (2)
TrainerEstimators\SdcaTests.cs (2)
121new SdcaLogisticRegressionBinaryTrainer.Options { ExampleWeightColumnName = "Weight", NumberOfThreads = 1 }); 180new SdcaMaximumEntropyMulticlassTrainer.Options { LabelColumnName = "LabelIndex", ExampleWeightColumnName = "Weight", NumberOfThreads = 1 }));
36 references to ExampleWeightColumnName
Microsoft.ML.Core.Tests (3)
UnitTests\TestEntryPoints.cs (3)
373Assert.True(instance.ExampleWeightColumnName == null); 376Assert.Equal("OtherWeight", instance.ExampleWeightColumnName); 380Assert.Equal("AnotherWeight", instance.ExampleWeightColumnName);
Microsoft.ML.EntryPoints (4)
ModelOperations.cs (2)
151var weight = TrainUtils.MatchNameOrDefaultOrNull(ch, schema, nameof(input.ExampleWeightColumnName), 152input.ExampleWeightColumnName, DefaultColumnNames.Weight);
OneVersusAllMacro.cs (2)
127var weight = TrainUtils.MatchNameOrDefaultOrNull(ch, schema, nameof(Arguments.ExampleWeightColumnName), 128input.ExampleWeightColumnName, DefaultColumnNames.Weight);
Microsoft.ML.FastTree (10)
FastTree.cs (1)
143: base(Contracts.CheckRef(env, nameof(env)).Register(RegisterName), TrainerUtils.MakeR4VecFeature(options.FeatureColumnName), label, TrainerUtils.MakeR4ScalarWeightColumn(options.ExampleWeightColumnName),
FastTreeClassification.cs (1)
444() => TrainerEntryPointsUtils.FindColumn(host, input.TrainingData.Schema, input.ExampleWeightColumnName),
FastTreeRanking.cs (1)
1093() => TrainerEntryPointsUtils.FindColumn(host, input.TrainingData.Schema, input.ExampleWeightColumnName),
FastTreeRegression.cs (1)
544() => TrainerEntryPointsUtils.FindColumn(host, input.TrainingData.Schema, input.ExampleWeightColumnName),
FastTreeTweedie.cs (1)
580() => TrainerEntryPointsUtils.FindColumn(host, input.TrainingData.Schema, input.ExampleWeightColumnName),
GamTrainer.cs (3)
198label, TrainerUtils.MakeR4ScalarWeightColumn(options.ExampleWeightColumnName)) 696() => TrainerEntryPointsUtils.FindColumn(host, input.TrainingData.Schema, input.ExampleWeightColumnName)); 710() => TrainerEntryPointsUtils.FindColumn(host, input.TrainingData.Schema, input.ExampleWeightColumnName));
RandomForestClassification.cs (1)
420() => TrainerEntryPointsUtils.FindColumn(host, input.TrainingData.Schema, input.ExampleWeightColumnName),
RandomForestRegression.cs (1)
605() => TrainerEntryPointsUtils.FindColumn(host, input.TrainingData.Schema, input.ExampleWeightColumnName),
Microsoft.ML.LightGbm (5)
LightGbmBinaryTrainer.cs (1)
324getWeight: () => TrainerEntryPointsUtils.FindColumn(host, input.TrainingData.Schema, input.ExampleWeightColumnName));
LightGbmMulticlassTrainer.cs (1)
406getWeight: () => TrainerEntryPointsUtils.FindColumn(host, input.TrainingData.Schema, input.ExampleWeightColumnName));
LightGbmRankingTrainer.cs (1)
336getWeight: () => TrainerEntryPointsUtils.FindColumn(host, input.TrainingData.Schema, input.ExampleWeightColumnName),
LightGbmRegressionTrainer.cs (1)
284getWeight: () => TrainerEntryPointsUtils.FindColumn(host, input.TrainingData.Schema, input.ExampleWeightColumnName));
LightGbmTrainerBase.cs (1)
344TrainerUtils.MakeR4ScalarWeightColumn(options.ExampleWeightColumnName), TrainerUtils.MakeU4ScalarColumn(options.RowGroupColumnName))
Microsoft.ML.Mkl.Components (2)
OlsLinearRegression.cs (2)
122TrainerUtils.MakeR4ScalarColumn(options.LabelColumnName), TrainerUtils.MakeR4ScalarWeightColumn(options.ExampleWeightColumnName)) 685() => TrainerEntryPointsUtils.FindColumn(host, options.TrainingData.Schema, options.ExampleWeightColumnName));
Microsoft.ML.StandardTrainers (12)
FactorizationMachine\FactorizationMachineTrainer.cs (2)
240WeightColumn = options.ExampleWeightColumnName != null ? new SchemaShape.Column(options.ExampleWeightColumnName, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false) : default;
LdSvm\LdSvmTrainer.cs (1)
168TrainerUtils.MakeR4ScalarWeightColumn(options.ExampleWeightColumnName))
Standard\LogisticRegression\LbfgsPredictorBase.cs (1)
233labelColumn, TrainerUtils.MakeR4ScalarWeightColumn(options.ExampleWeightColumnName))
Standard\LogisticRegression\LogisticRegression.cs (1)
476() => TrainerEntryPointsUtils.FindColumn(host, input.TrainingData.Schema, input.ExampleWeightColumnName));
Standard\LogisticRegression\MulticlassLogisticRegression.cs (1)
407() => TrainerEntryPointsUtils.FindColumn(host, input.TrainingData.Schema, input.ExampleWeightColumnName));
Standard\PoissonRegression\PoissonRegression.cs (1)
222() => TrainerEntryPointsUtils.FindColumn(host, input.TrainingData.Schema, input.ExampleWeightColumnName));
Standard\SdcaBinary.cs (3)
1514: base(env, options, TrainerUtils.MakeBoolScalarLabel(options.LabelColumnName), TrainerUtils.MakeR4ScalarWeightColumn(options.ExampleWeightColumnName)) 1999: base(env, options.FeatureColumnName, TrainerUtils.MakeBoolScalarLabel(options.LabelColumnName), options.ExampleWeightColumnName) 2477() => TrainerEntryPointsUtils.FindColumn(host, input.TrainingData.Schema, input.ExampleWeightColumnName),
Standard\SdcaMulticlass.cs (1)
155: this(env, options, options.FeatureColumnName, options.LabelColumnName, options.ExampleWeightColumnName)
Standard\SdcaRegression.cs (1)
140: this(env, options, options.FeatureColumnName, options.LabelColumnName, options.ExampleWeightColumnName)