23 references to GetOptionName
Microsoft.ML.LightGbm (23)
LightGbmBinaryTrainer.cs (5)
184
res[
GetOptionName
(nameof(UnbalancedSets))] = UnbalancedSets;
185
res[
GetOptionName
(nameof(WeightOfPositiveExamples))] = WeightOfPositiveExamples;
186
res[
GetOptionName
(nameof(Sigmoid))] = Sigmoid;
187
res[
GetOptionName
(nameof(EvaluateMetricType))] =
GetOptionName
(EvaluationMetric.ToString());
LightGbmMulticlassTrainer.cs (4)
126
res[
GetOptionName
(nameof(UnbalancedSets))] = UnbalancedSets;
127
res[
GetOptionName
(nameof(Sigmoid))] = Sigmoid;
128
res[
GetOptionName
(nameof(EvaluateMetricType))] =
GetOptionName
(EvaluationMetric.ToString());
LightGbmRankingTrainer.cs (4)
168
res[
GetOptionName
(nameof(Sigmoid))] = Sigmoid;
169
res[
GetOptionName
(nameof(CustomGains))] = string.Join(",", CustomGains);
170
res[
GetOptionName
(nameof(EvaluateMetricType))] =
GetOptionName
(EvaluationMetric.ToString());
LightGbmRegressionTrainer.cs (2)
153
res[
GetOptionName
(nameof(EvaluateMetricType))] =
GetOptionName
(EvaluationMetric.ToString());
LightGbmTrainerBase.cs (8)
275
res[
GetOptionName
(nameof(MaximumBinCountPerFeature))] = MaximumBinCountPerFeature;
276
res[
GetOptionName
(nameof(HandleMissingValue))] = HandleMissingValue;
277
res[
GetOptionName
(nameof(UseZeroAsMissingValue))] = UseZeroAsMissingValue;
278
res[
GetOptionName
(nameof(MinimumExampleCountPerGroup))] = MinimumExampleCountPerGroup;
279
res[
GetOptionName
(nameof(MaximumCategoricalSplitPointCount))] = MaximumCategoricalSplitPointCount;
280
res[
GetOptionName
(nameof(CategoricalSmoothing))] = CategoricalSmoothing;
281
res[
GetOptionName
(nameof(L2CategoricalRegularization))] = L2CategoricalRegularization;
398
var lightGbmName = LightGbmTrainerOptions.
GetOptionName
(field.Name);