32 references to BinaryClassificationTrainer
Microsoft.ML.AutoML (16)
API\BinaryClassificationExperiment.cs (9)
36
/// <value>The default value is a collection auto-populated with all possible trainers (all values of <see cref="
BinaryClassificationTrainer
" />).</value>
37
public ICollection<
BinaryClassificationTrainer
> Trainers { get; }
50
Trainers = Enum.GetValues(typeof(
BinaryClassificationTrainer
)).OfType<
BinaryClassificationTrainer
>().ToList();
326
var useSdca = Settings.Trainers.Contains(
BinaryClassificationTrainer
.SdcaLogisticRegression);
327
var uselbfgs = Settings.Trainers.Contains(
BinaryClassificationTrainer
.LbfgsLogisticRegression);
328
var useLgbm = Settings.Trainers.Contains(
BinaryClassificationTrainer
.LightGbm);
329
var useFastForest = Settings.Trainers.Contains(
BinaryClassificationTrainer
.FastForest);
330
var useFastTree = Settings.Trainers.Contains(
BinaryClassificationTrainer
.FastTree);
TrainerExtensions\TrainerExtensionUtil.cs (7)
301
public static TrainerName GetTrainerName(
BinaryClassificationTrainer
binaryTrainer)
305
case
BinaryClassificationTrainer
.FastForest:
307
case
BinaryClassificationTrainer
.FastTree:
309
case
BinaryClassificationTrainer
.LightGbm:
311
case
BinaryClassificationTrainer
.LbfgsLogisticRegression:
313
case
BinaryClassificationTrainer
.SdcaLogisticRegression:
391
public static IEnumerable<TrainerName> GetTrainerNames(IEnumerable<
BinaryClassificationTrainer
> binaryTrainers)
Microsoft.ML.AutoML.Tests (16)
AutoFitTests.cs (13)
54
settings.Trainers.Remove(
BinaryClassificationTrainer
.LightGbm);
55
settings.Trainers.Remove(
BinaryClassificationTrainer
.SdcaLogisticRegression);
56
settings.Trainers.Remove(
BinaryClassificationTrainer
.LbfgsLogisticRegression);
81
settings.Trainers.Remove(
BinaryClassificationTrainer
.LightGbm);
82
settings.Trainers.Remove(
BinaryClassificationTrainer
.SdcaLogisticRegression);
83
settings.Trainers.Remove(
BinaryClassificationTrainer
.LbfgsLogisticRegression);
108
settings.Trainers.Remove(
BinaryClassificationTrainer
.LightGbm);
109
settings.Trainers.Remove(
BinaryClassificationTrainer
.SdcaLogisticRegression);
110
settings.Trainers.Remove(
BinaryClassificationTrainer
.LbfgsLogisticRegression);
134
settings.Trainers.Remove(
BinaryClassificationTrainer
.LightGbm);
135
settings.Trainers.Remove(
BinaryClassificationTrainer
.SdcaLogisticRegression);
136
settings.Trainers.Remove(
BinaryClassificationTrainer
.LbfgsLogisticRegression);
598
settings.Trainers.Remove(
BinaryClassificationTrainer
.FastForest);
TrainerExtensionsTests.cs (3)
357
var publicNames = Enum.GetValues(typeof(
BinaryClassificationTrainer
)).Cast<
BinaryClassificationTrainer
>();
397
var internalNames = TrainerExtensionUtil.GetTrainerNames(null as IEnumerable<
BinaryClassificationTrainer
>);