3 instantiations of OnlineGradientDescentTrainer
Microsoft.ML.StandardTrainers (3)
Standard\Online\OnlineGradientDescent.cs (1)
198
() => new
OnlineGradientDescentTrainer
(host, input),
StandardTrainersCatalog.cs (2)
498
return new
OnlineGradientDescentTrainer
(env, labelColumnName, featureColumnName, learningRate, decreaseLearningRate, l2Regularization,
521
return new
OnlineGradientDescentTrainer
(env, options);
25 references to OnlineGradientDescentTrainer
Microsoft.ML.AutoML (1)
TrainerExtensions\RegressionTrainerExtensions.cs (1)
112
var options = TrainerExtensionUtil.CreateOptions<
OnlineGradientDescentTrainer
.Options>(sweepParams, columnInfo.LabelColumnName);
Microsoft.ML.IntegrationTests (2)
Training.cs (2)
321
var
trainer = mlContext.Regression.Trainers.OnlineGradientDescent(
322
new
OnlineGradientDescentTrainer
.Options { NumberOfIterations = 10 });
Microsoft.ML.Samples (3)
Dynamic\Trainers\Regression\OnlineGradientDescent.cs (1)
27
var
pipeline = mlContext.Regression.Trainers.OnlineGradientDescent(
Dynamic\Trainers\Regression\OnlineGradientDescentWithOptions.cs (2)
28
var options = new
OnlineGradientDescentTrainer
.Options
43
var
pipeline =
Microsoft.ML.SearchSpace.Tests (1)
SearchSpaceTest.cs (1)
291
CreateAndVerifyDefaultSearchSpace<
OnlineGradientDescentTrainer
.Options>();
Microsoft.ML.StandardTrainers (17)
Standard\Online\OnlineGradientDescent.cs (10)
15
[assembly: LoadableClass(
OnlineGradientDescentTrainer
.Summary, typeof(
OnlineGradientDescentTrainer
), typeof(
OnlineGradientDescentTrainer
.Options),
17
OnlineGradientDescentTrainer
.UserNameValue,
18
OnlineGradientDescentTrainer
.LoadNameValue,
19
OnlineGradientDescentTrainer
.ShortName,
22
[assembly: LoadableClass(typeof(void), typeof(
OnlineGradientDescentTrainer
), null, typeof(SignatureEntryPointModule), "OGD")]
56
/// <seealso cref="StandardTrainersCatalog.OnlineGradientDescent(RegressionCatalog.RegressionTrainers,
OnlineGradientDescentTrainer
.Options)"/>
67
/// Options for the <see cref="
OnlineGradientDescentTrainer
"/> as used in
102
public TrainState(IChannel ch, int numFeatures, LinearModelParameters predictor,
OnlineGradientDescentTrainer
parent)
StandardTrainersCatalog.cs (7)
470
/// Create <see cref="
OnlineGradientDescentTrainer
"/>, which predicts a target using a linear regression model.
487
public static
OnlineGradientDescentTrainer
OnlineGradientDescent(this RegressionCatalog.RegressionTrainers catalog,
491
float learningRate =
OnlineGradientDescentTrainer
.Options.OgdDefaultArgs.LearningRate,
492
bool decreaseLearningRate =
OnlineGradientDescentTrainer
.Options.OgdDefaultArgs.DecreaseLearningRate,
503
/// Create <see cref="
OnlineGradientDescentTrainer
"/> using advanced options, which predicts a target using a linear regression model.
514
public static
OnlineGradientDescentTrainer
OnlineGradientDescent(this RegressionCatalog.RegressionTrainers catalog,
515
OnlineGradientDescentTrainer
.Options options)
Microsoft.ML.Tests (1)
TrainerEstimators\OnlineLinearTests.cs (1)
29
var
ogdTrainer = ML.Regression.Trainers.OnlineGradientDescent();