26 instantiations of Options
Microsoft.ML.AutoML (2)
SweepableEstimator\Estimators\Lbfgs.cs (2)
49var option = new LbfgsLogisticRegressionBinaryTrainer.Options() 67var option = new LbfgsLogisticRegressionBinaryTrainer.Options()
Microsoft.ML.Core.Tests (7)
UnitTests\TestEntryPoints.cs (7)
137var lrModel = LbfgsLogisticRegressionBinaryTrainer.TrainBinary(Env, new LbfgsLogisticRegressionBinaryTrainer.Options { TrainingData = trainData.OutputData }).PredictorModel; 425var lrInput = new LbfgsLogisticRegressionBinaryTrainer.Options 1510var lrModel = LbfgsLogisticRegressionBinaryTrainer.TrainBinary(Env, new LbfgsLogisticRegressionBinaryTrainer.Options { TrainingData = splitOutput.TestData[0] }).PredictorModel; 1559var lrInput = new LbfgsLogisticRegressionBinaryTrainer.Options 1825var lrInput = new LbfgsLogisticRegressionBinaryTrainer.Options 2158var lrInput = new LbfgsLogisticRegressionBinaryTrainer.Options 4249var lrInput = new LbfgsLogisticRegressionBinaryTrainer.Options
Microsoft.ML.IntegrationTests (8)
Evaluation.cs (2)
97new LbfgsLogisticRegressionBinaryTrainer.Options { NumberOfThreads = 1 })); 303new LbfgsLogisticRegressionBinaryTrainer.Options { NumberOfThreads = 1 }));
Prediction.cs (3)
53new LbfgsLogisticRegressionBinaryTrainer.Options { NumberOfThreads = 1 })); 84new Trainers.LbfgsLogisticRegressionBinaryTrainer.Options { NumberOfThreads = 1 }); 107new Trainers.LbfgsLogisticRegressionBinaryTrainer.Options { NumberOfThreads = 1 });
Training.cs (3)
228new LbfgsLogisticRegressionBinaryTrainer.Options { NumberOfThreads = 1, MaximumNumberOfIterations = 10 }); 454new LbfgsLogisticRegressionBinaryTrainer.Options { MaximumNumberOfIterations = 10, NumberOfThreads = 1, }); 485new LbfgsLogisticRegressionBinaryTrainer.Options { MaximumNumberOfIterations = 10, NumberOfThreads = 1, });
Microsoft.ML.PerformanceTests (1)
KMeansAndLogisticRegressionBench.cs (1)
42new LbfgsLogisticRegressionBinaryTrainer.Options { EnforceNonNegativity = true, OptimizationTolerance = 1e-3f, }));
Microsoft.ML.Predictor.Tests (2)
TestPredictors.cs (2)
777LbfgsLogisticRegressionBinaryTrainer.TrainBinary(ML, new LbfgsLogisticRegressionBinaryTrainer.Options() 785LbfgsLogisticRegressionBinaryTrainer.TrainBinary(ML, new LbfgsLogisticRegressionBinaryTrainer.Options()
Microsoft.ML.Samples (1)
Dynamic\Trainers\BinaryClassification\LbfgsLogisticRegressionWithOptions.cs (1)
28var options = new LbfgsLogisticRegressionBinaryTrainer.Options()
Microsoft.ML.Tests (5)
CalibratedModelParametersTests.cs (1)
28new LbfgsLogisticRegressionBinaryTrainer.Options { NumberOfThreads = 1 }).Fit(data);
PermutationFeatureImportanceTests.cs (2)
343new LbfgsLogisticRegressionBinaryTrainer.Options { NumberOfThreads = 1 }).Fit(data); 417new LbfgsLogisticRegressionBinaryTrainer.Options { NumberOfThreads = 1 }).Fit(data);
TrainerEstimators\LbfgsTests.cs (2)
63pipe = pipe.Append(ML.BinaryClassification.Trainers.LbfgsLogisticRegression(new LbfgsLogisticRegressionBinaryTrainer.Options { ShowTrainingStatistics = true })); 84new LbfgsLogisticRegressionBinaryTrainer.Options
46 references to Options
Microsoft.ML.AutoML (4)
SweepableEstimator\Estimators\Lbfgs.cs (2)
49var option = new LbfgsLogisticRegressionBinaryTrainer.Options() 67var option = new LbfgsLogisticRegressionBinaryTrainer.Options()
TrainerExtensions\BinaryTrainerExtensions.cs (2)
181var options = TrainerExtensionUtil.CreateOptions<LbfgsLogisticRegressionBinaryTrainer.Options>(sweepParams, columnInfo.LabelColumnName);
Microsoft.ML.Core.Tests (8)
UnitTests\TestEntryPoints.cs (8)
367InputBuilder ib1 = new InputBuilder(Env, typeof(LbfgsLogisticRegressionBinaryTrainer.Options), catalog); 372var instance = ib1.GetInstance() as LbfgsLogisticRegressionBinaryTrainer.Options; 425var lrInput = new LbfgsLogisticRegressionBinaryTrainer.Options 1559var lrInput = new LbfgsLogisticRegressionBinaryTrainer.Options 1825var lrInput = new LbfgsLogisticRegressionBinaryTrainer.Options 2158var lrInput = new LbfgsLogisticRegressionBinaryTrainer.Options 4249var lrInput = new LbfgsLogisticRegressionBinaryTrainer.Options
Microsoft.ML.Samples (1)
Dynamic\Trainers\BinaryClassification\LbfgsLogisticRegressionWithOptions.cs (1)
28var options = new LbfgsLogisticRegressionBinaryTrainer.Options()
Microsoft.ML.SearchSpace.Tests (1)
SearchSpaceTest.cs (1)
292CreateAndVerifyDefaultSearchSpace<LbfgsLogisticRegressionBinaryTrainer.Options>();
Microsoft.ML.StandardTrainers (32)
Standard\LogisticRegression\LogisticRegression.cs (15)
18[assembly: LoadableClass(LbfgsLogisticRegressionBinaryTrainer.Summary, typeof(LbfgsLogisticRegressionBinaryTrainer), typeof(LbfgsLogisticRegressionBinaryTrainer.Options), 80/// <seealso cref="Microsoft.ML.StandardTrainersCatalog.LbfgsLogisticRegression(BinaryClassificationCatalog.BinaryClassificationTrainers, LbfgsLogisticRegressionBinaryTrainer.Options)"/> 81/// <seealso cref="Options"/> 82public sealed partial class LbfgsLogisticRegressionBinaryTrainer : LbfgsTrainerBase<LbfgsLogisticRegressionBinaryTrainer.Options, 94/// <see cref="Microsoft.ML.StandardTrainersCatalog.LbfgsLogisticRegression(BinaryClassificationCatalog.BinaryClassificationTrainers, LbfgsLogisticRegressionBinaryTrainer.Options)"/> 111/// If you need these calculations, add the Microsoft.ML.Mkl.Components package, and initialize <see cref="LbfgsLogisticRegressionBinaryTrainer.Options.ComputeStandardDeviation"/>. 136float l1Regularization = Options.Defaults.L1Regularization, 137float l2Regularization = Options.Defaults.L2Regularization, 138float optimizationTolerance = Options.Defaults.OptimizationTolerance, 139int memorySize = Options.Defaults.HistorySize, 140bool enforceNoNegativity = Options.Defaults.EnforceNonNegativity) 154internal LbfgsLogisticRegressionBinaryTrainer(IHostEnvironment env, Options options) 466internal static CommonOutputs.BinaryClassificationOutput TrainBinary(IHostEnvironment env, Options input) 473return TrainerEntryPointsUtils.Train<Options, CommonOutputs.BinaryClassificationOutput>(host, input, 492/// If you need these calculations, add the Microsoft.ML.Mkl.Components package, and initialize <see cref="LbfgsLogisticRegressionBinaryTrainer.Options.ComputeStandardDeviation"/>
StandardTrainersCatalog.cs (17)
13using LROptions = LbfgsLogisticRegressionBinaryTrainer.Options; 547float l1Regularization = LROptions.Defaults.L1Regularization, 548float l2Regularization = LROptions.Defaults.L2Regularization, 549float optimizationTolerance = LROptions.Defaults.OptimizationTolerance, 550int historySize = LROptions.Defaults.HistorySize, 551bool enforceNonNegativity = LROptions.Defaults.EnforceNonNegativity) 570public static LbfgsLogisticRegressionBinaryTrainer LbfgsLogisticRegression(this BinaryClassificationCatalog.BinaryClassificationTrainers catalog, LROptions options) 601float l1Regularization = LROptions.Defaults.L1Regularization, 602float l2Regularization = LROptions.Defaults.L2Regularization, 603float optimizationTolerance = LROptions.Defaults.OptimizationTolerance, 604int historySize = LROptions.Defaults.HistorySize, 605bool enforceNonNegativity = LROptions.Defaults.EnforceNonNegativity) 654float l1Regularization = LROptions.Defaults.L1Regularization, 655float l2Regularization = LROptions.Defaults.L2Regularization, 656float optimizationTolerance = LROptions.Defaults.OptimizationTolerance, 657int historySize = LROptions.Defaults.HistorySize, 658bool enforceNonNegativity = LROptions.Defaults.EnforceNonNegativity)