26 references to NameMapping
Microsoft.ML.LightGbm (26)
LightGbmBinaryTrainer.cs (7)
172
NameMapping
.Add(nameof(EvaluateMetricType), "metric");
173
NameMapping
.Add(nameof(EvaluateMetricType.None), "None");
174
NameMapping
.Add(nameof(EvaluateMetricType.Default), "");
175
NameMapping
.Add(nameof(EvaluateMetricType.Logloss), "binary_logloss");
176
NameMapping
.Add(nameof(EvaluateMetricType.Error), "binary_error");
177
NameMapping
.Add(nameof(EvaluateMetricType.AreaUnderCurve), "auc");
178
NameMapping
.Add(nameof(WeightOfPositiveExamples), "scale_pos_weight");
LightGbmMulticlassTrainer.cs (5)
115
NameMapping
.Add(nameof(EvaluateMetricType), "metric");
116
NameMapping
.Add(nameof(EvaluateMetricType.None), "None");
117
NameMapping
.Add(nameof(EvaluateMetricType.Default), "");
118
NameMapping
.Add(nameof(EvaluateMetricType.Error), "multi_error");
119
NameMapping
.Add(nameof(EvaluateMetricType.LogLoss), "multi_logloss");
LightGbmRankingTrainer.cs (6)
152
NameMapping
.Add(nameof(CustomGains), "label_gain");
153
NameMapping
.Add(nameof(EvaluateMetricType), "metric");
154
NameMapping
.Add(nameof(EvaluateMetricType.None), "None");
155
NameMapping
.Add(nameof(EvaluateMetricType.Default), "");
156
NameMapping
.Add(nameof(EvaluateMetricType.MeanAveragedPrecision), "map");
157
NameMapping
.Add(nameof(EvaluateMetricType.NormalizedDiscountedCumulativeGain), "ndcg");
LightGbmRegressionTrainer.cs (6)
142
NameMapping
.Add(nameof(EvaluateMetricType), "metric");
143
NameMapping
.Add(nameof(EvaluateMetricType.None), "None");
144
NameMapping
.Add(nameof(EvaluateMetricType.Default), "");
145
NameMapping
.Add(nameof(EvaluateMetricType.MeanAbsoluteError), "mae");
146
NameMapping
.Add(nameof(EvaluateMetricType.RootMeanSquaredError), "rmse");
147
NameMapping
.Add(nameof(EvaluateMetricType.MeanSquaredError), "mse");
LightGbmTrainerBase.cs (2)
69
if (
NameMapping
.ContainsKey(name))
70
return
NameMapping
[name];