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