29 references to RegressionTrainer
Microsoft.ML.AutoML (18)
API\RegressionExperiment.cs (10)
35
/// The default value is a collection auto-populated with all possible trainers (all values of <see cref="
RegressionTrainer
" />).
37
public ICollection<
RegressionTrainer
> Trainers { get; }
45
Trainers = Enum.GetValues(typeof(
RegressionTrainer
)).OfType<
RegressionTrainer
>().ToList();
299
var useSdca = Settings.Trainers.Contains(
RegressionTrainer
.StochasticDualCoordinateAscent);
300
var uselbfgs = Settings.Trainers.Contains(
RegressionTrainer
.LbfgsPoissonRegression);
301
var useLgbm = Settings.Trainers.Contains(
RegressionTrainer
.LightGbm);
302
var useFastForest = Settings.Trainers.Contains(
RegressionTrainer
.FastForest);
303
var useFastTree = Settings.Trainers.Contains(
RegressionTrainer
.FastTree) || Settings.Trainers.Contains(
RegressionTrainer
.FastTreeTweedie);
TrainerExtensions\TrainerExtensionUtil.cs (8)
343
public static TrainerName GetTrainerName(
RegressionTrainer
regressionTrainer)
347
case
RegressionTrainer
.FastForest:
349
case
RegressionTrainer
.FastTree:
351
case
RegressionTrainer
.FastTreeTweedie:
353
case
RegressionTrainer
.LightGbm:
355
case
RegressionTrainer
.LbfgsPoissonRegression:
357
case
RegressionTrainer
.StochasticDualCoordinateAscent:
401
public static IEnumerable<TrainerName> GetTrainerNames(IEnumerable<
RegressionTrainer
> regressionTrainers)
Microsoft.ML.AutoML.Tests (11)
AutoFitTests.cs (9)
167
settings.Trainers.Remove(
RegressionTrainer
.LightGbm);
168
settings.Trainers.Remove(
RegressionTrainer
.StochasticDualCoordinateAscent);
169
settings.Trainers.Remove(
RegressionTrainer
.LbfgsPoissonRegression);
197
settings.Trainers.Remove(
RegressionTrainer
.LightGbm);
198
settings.Trainers.Remove(
RegressionTrainer
.StochasticDualCoordinateAscent);
199
settings.Trainers.Remove(
RegressionTrainer
.LbfgsPoissonRegression);
227
settings.Trainers.Remove(
RegressionTrainer
.LightGbm);
228
settings.Trainers.Remove(
RegressionTrainer
.StochasticDualCoordinateAscent);
229
settings.Trainers.Remove(
RegressionTrainer
.LbfgsPoissonRegression);
TrainerExtensionsTests.cs (2)
373
var publicNames = Enum.GetValues(typeof(
RegressionTrainer
)).Cast<
RegressionTrainer
>();