6 writes to ExampleWeightColumnName
Microsoft.ML.AutoML (2)
ColumnInference\ColumnInformationUtil.cs (1)
84columnInfo.ExampleWeightColumnName = column.name;
TrainerExtensions\TrainerExtensionUtil.cs (1)
215columnInfo.ExampleWeightColumnName = weightColumn as string;
Microsoft.ML.AutoML.Tests (4)
ColumnInferenceTests.cs (2)
157ExampleWeightColumnName = DefaultColumnNames.Weight, 177ExampleWeightColumnName = DefaultColumnNames.Weight,
ColumnInformationUtilTests.cs (1)
25ExampleWeightColumnName = "Weight",
TrainerExtensionsTests.cs (1)
204ExampleWeightColumnName = "W"
33 references to ExampleWeightColumnName
Microsoft.ML.AutoML (30)
ColumnInference\ColumnInformationUtil.cs (2)
19if (columnName == columnInfo.ExampleWeightColumnName) 135AddStringToListIfNotNull(columnNames, columnInformation.ExampleWeightColumnName);
TrainerExtensions\BinaryTrainerExtensions.cs (9)
75options.ExampleWeightColumnName = columnInfo.ExampleWeightColumnName; 82columnInfo.LabelColumnName, columnInfo.ExampleWeightColumnName); 97options.ExampleWeightColumnName = columnInfo.ExampleWeightColumnName; 104columnInfo.LabelColumnName, columnInfo.ExampleWeightColumnName); 125columnInfo.LabelColumnName, columnInfo.ExampleWeightColumnName, columnInfo.GroupIdColumnName); 182options.ExampleWeightColumnName = columnInfo.ExampleWeightColumnName; 189columnInfo.LabelColumnName, columnInfo.ExampleWeightColumnName); 204options.ExampleWeightColumnName = columnInfo.ExampleWeightColumnName; 211columnInfo.LabelColumnName, columnInfo.ExampleWeightColumnName);
TrainerExtensions\MultiTrainerExtensions.cs (3)
77columnInfo.LabelColumnName, columnInfo.ExampleWeightColumnName, columnInfo.GroupIdColumnName); 223options.ExampleWeightColumnName = columnInfo.ExampleWeightColumnName; 230columnInfo.LabelColumnName, columnInfo.ExampleWeightColumnName);
TrainerExtensions\RankingTrainerExtensions.cs (1)
33columnInfo.LabelColumnName, columnInfo.ExampleWeightColumnName, columnInfo.GroupIdColumnName);
TrainerExtensions\RegressionTrainerExtensions.cs (11)
26options.ExampleWeightColumnName = columnInfo.ExampleWeightColumnName; 33columnInfo.LabelColumnName, columnInfo.ExampleWeightColumnName); 48options.ExampleWeightColumnName = columnInfo.ExampleWeightColumnName; 55columnInfo.LabelColumnName, columnInfo.ExampleWeightColumnName); 70options.ExampleWeightColumnName = columnInfo.ExampleWeightColumnName; 77columnInfo.LabelColumnName, columnInfo.ExampleWeightColumnName); 98columnInfo.LabelColumnName, columnInfo.ExampleWeightColumnName, columnInfo.GroupIdColumnName); 134options.ExampleWeightColumnName = columnInfo.ExampleWeightColumnName; 141columnInfo.LabelColumnName, columnInfo.ExampleWeightColumnName); 156options.ExampleWeightColumnName = columnInfo.ExampleWeightColumnName; 163columnInfo.LabelColumnName, columnInfo.ExampleWeightColumnName);
TrainerExtensions\TrainerExtensionUtil.cs (1)
88options.ExampleWeightColumnName = columnInfo.ExampleWeightColumnName;
Utils\UserInputValidationUtil.cs (3)
109ValidateTrainDataColumn(trainData, columnInformation.ExampleWeightColumnName, WeightColumnPurposeName); 135if (columnInformation.ExampleWeightColumnName != null) { allColumns.Add(columnInformation.ExampleWeightColumnName); }
Microsoft.ML.AutoML.Tests (3)
ColumnInferenceTests.cs (3)
164Assert.Equal(DefaultColumnNames.Weight, result.ColumnInformation.ExampleWeightColumnName); 181Assert.Equal(DefaultColumnNames.Weight, result.ColumnInformation.ExampleWeightColumnName); 197Assert.Null(result.ColumnInformation.ExampleWeightColumnName);