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