3 instantiations of LbfgsLogisticRegressionBinaryTrainer
Microsoft.ML.StandardTrainers (3)
Standard\LogisticRegression\LogisticRegression.cs (1)
474
() => new
LbfgsLogisticRegressionBinaryTrainer
(host, input),
StandardTrainersCatalog.cs (2)
555
return new
LbfgsLogisticRegressionBinaryTrainer
(env, labelColumnName, featureColumnName, exampleWeightColumnName, l1Regularization, l2Regularization, optimizationTolerance, historySize, enforceNonNegativity);
576
return new
LbfgsLogisticRegressionBinaryTrainer
(env, options);
82 references to LbfgsLogisticRegressionBinaryTrainer
Microsoft.ML.AutoML (11)
API\AutoCatalog.cs (3)
324
/// <param name="useLbfgsLogisticRegression">true if use <see cref="
LbfgsLogisticRegressionBinaryTrainer
"/> as available trainer.</param>
334
/// <param name="lbfgsLogisticRegressionSearchSpace">if provided, use it as search space for <see cref="
LbfgsLogisticRegressionBinaryTrainer
"/>, otherwise the default search space will be used.</param>
416
/// <param name="useLbfgsLogisticRegression">true if use <see cref="
LbfgsLogisticRegressionBinaryTrainer
"/> as available trainer.</param>
API\BinaryClassificationExperiment.cs (1)
122
/// See <see cref="
LbfgsLogisticRegressionBinaryTrainer
"/>.
API\MulticlassClassificationExperiment.cs (1)
106
/// <see cref="OneVersusAllTrainer"/> using <see cref="
LbfgsLogisticRegressionBinaryTrainer
"/>.
SweepableEstimator\Estimators\Lbfgs.cs (3)
49
var option = new
LbfgsLogisticRegressionBinaryTrainer
.Options()
67
var option = new
LbfgsLogisticRegressionBinaryTrainer
.Options()
77
var
binaryTrainer = context.BinaryClassification.Trainers.LbfgsLogisticRegression(option);
TrainerExtensions\BinaryTrainerExtensions.cs (1)
181
var options = TrainerExtensionUtil.CreateOptions<
LbfgsLogisticRegressionBinaryTrainer
.Options>(sweepParams, columnInfo.LabelColumnName);
TrainerExtensions\MultiTrainerExtensions.cs (2)
136
var
binaryTrainer = _binaryLearnerCatalogItem.CreateInstance(mlContext, sweepParams, columnInfo) as
LbfgsLogisticRegressionBinaryTrainer
;
Microsoft.ML.Core.Tests (16)
UnitTests\TestEntryPoints.cs (16)
137
var lrModel =
LbfgsLogisticRegressionBinaryTrainer
.TrainBinary(Env, new
LbfgsLogisticRegressionBinaryTrainer
.Options { TrainingData = trainData.OutputData }).PredictorModel;
367
InputBuilder ib1 = new InputBuilder(Env, typeof(
LbfgsLogisticRegressionBinaryTrainer
.Options), catalog);
372
var instance = ib1.GetInstance() as
LbfgsLogisticRegressionBinaryTrainer
.Options;
425
var lrInput = new
LbfgsLogisticRegressionBinaryTrainer
.Options
432
predictorModels[i] =
LbfgsLogisticRegressionBinaryTrainer
.TrainBinary(Env, lrInput).PredictorModel;
1510
var lrModel =
LbfgsLogisticRegressionBinaryTrainer
.TrainBinary(Env, new
LbfgsLogisticRegressionBinaryTrainer
.Options { TrainingData = splitOutput.TestData[0] }).PredictorModel;
1559
var lrInput = new
LbfgsLogisticRegressionBinaryTrainer
.Options
1566
predictorModels[i] =
LbfgsLogisticRegressionBinaryTrainer
.TrainBinary(Env, lrInput).PredictorModel;
1825
var lrInput = new
LbfgsLogisticRegressionBinaryTrainer
.Options
1832
predictorModels[i] =
LbfgsLogisticRegressionBinaryTrainer
.TrainBinary(Env, lrInput).PredictorModel;
2158
var lrInput = new
LbfgsLogisticRegressionBinaryTrainer
.Options
2166
predictorModels[i] =
LbfgsLogisticRegressionBinaryTrainer
.TrainBinary(Env, lrInput).PredictorModel;
4249
var lrInput = new
LbfgsLogisticRegressionBinaryTrainer
.Options
4257
var model =
LbfgsLogisticRegressionBinaryTrainer
.TrainBinary(Env, lrInput).PredictorModel;
Microsoft.ML.IntegrationTests (13)
Evaluation.cs (2)
97
new
LbfgsLogisticRegressionBinaryTrainer
.Options { NumberOfThreads = 1 }));
303
new
LbfgsLogisticRegressionBinaryTrainer
.Options { NumberOfThreads = 1 }));
Prediction.cs (5)
53
new
LbfgsLogisticRegressionBinaryTrainer
.Options { NumberOfThreads = 1 }));
83
var
pipeline = mlContext.BinaryClassification.Trainers.LbfgsLogisticRegression(
84
new Trainers.
LbfgsLogisticRegressionBinaryTrainer
.Options { NumberOfThreads = 1 });
106
var
pipeline = mlContext.BinaryClassification.Trainers.LbfgsLogisticRegression(
107
new Trainers.
LbfgsLogisticRegressionBinaryTrainer
.Options { NumberOfThreads = 1 });
Training.cs (6)
227
var
trainer = mlContext.BinaryClassification.Trainers.LbfgsLogisticRegression(
228
new
LbfgsLogisticRegressionBinaryTrainer
.Options { NumberOfThreads = 1, MaximumNumberOfIterations = 10 });
453
var
binaryClassificationTrainer = mlContext.BinaryClassification.Trainers.LbfgsLogisticRegression(
454
new
LbfgsLogisticRegressionBinaryTrainer
.Options { MaximumNumberOfIterations = 10, NumberOfThreads = 1, });
484
var
binaryClassificationTrainer = mlContext.BinaryClassification.Trainers.LbfgsLogisticRegression(
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 (4)
TestPredictors.cs (4)
777
LbfgsLogisticRegressionBinaryTrainer
.TrainBinary(ML, new
LbfgsLogisticRegressionBinaryTrainer
.Options()
785
LbfgsLogisticRegressionBinaryTrainer
.TrainBinary(ML, new
LbfgsLogisticRegressionBinaryTrainer
.Options()
Microsoft.ML.Samples (3)
Dynamic\Trainers\BinaryClassification\LbfgsLogisticRegression.cs (1)
27
var
pipeline = mlContext.BinaryClassification.Trainers
Dynamic\Trainers\BinaryClassification\LbfgsLogisticRegressionWithOptions.cs (2)
28
var options = new
LbfgsLogisticRegressionBinaryTrainer
.Options()
36
var
pipeline = mlContext.BinaryClassification.Trainers
Microsoft.ML.SearchSpace.Tests (1)
SearchSpaceTest.cs (1)
292
CreateAndVerifyDefaultSearchSpace<
LbfgsLogisticRegressionBinaryTrainer
.Options>();
Microsoft.ML.StandardTrainers (26)
Standard\LogisticRegression\LogisticRegression.cs (18)
18
[assembly: LoadableClass(
LbfgsLogisticRegressionBinaryTrainer
.Summary, typeof(
LbfgsLogisticRegressionBinaryTrainer
), typeof(
LbfgsLogisticRegressionBinaryTrainer
.Options),
20
LbfgsLogisticRegressionBinaryTrainer
.UserNameValue,
21
LbfgsLogisticRegressionBinaryTrainer
.LoadNameValue,
22
LbfgsLogisticRegressionBinaryTrainer
.ShortName,
25
[assembly: LoadableClass(typeof(void), typeof(
LbfgsLogisticRegressionBinaryTrainer
), null, typeof(SignatureEntryPointModule),
LbfgsLogisticRegressionBinaryTrainer
.LoadNameValue)]
80
/// <seealso cref="Microsoft.ML.StandardTrainersCatalog.LbfgsLogisticRegression(BinaryClassificationCatalog.BinaryClassificationTrainers,
LbfgsLogisticRegressionBinaryTrainer
.Options)"/>
82
public sealed partial class LbfgsLogisticRegressionBinaryTrainer : LbfgsTrainerBase<
LbfgsLogisticRegressionBinaryTrainer
.Options,
93
/// Options for the <see cref="
LbfgsLogisticRegressionBinaryTrainer
"/> as used in
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"/>.
121
/// Initializes a new instance of <see cref="
LbfgsLogisticRegressionBinaryTrainer
"/>
130
/// <param name="memorySize">Memory size for <see cref="
LbfgsLogisticRegressionBinaryTrainer
"/>. Low=faster, less accurate.</param>
152
/// Initializes a new instance of <see cref="
LbfgsLogisticRegressionBinaryTrainer
"/>
184
/// Continues the training of a <see cref="
LbfgsLogisticRegressionBinaryTrainer
"/> using an already trained <paramref name="modelParameters"/> and returns
492
/// If you need these calculations, add the Microsoft.ML.Mkl.Components package, and initialize <see cref="
LbfgsLogisticRegressionBinaryTrainer
.Options.ComputeStandardDeviation"/>
Standard\LogisticRegression\MulticlassLogisticRegression.cs (1)
139
/// <param name="memorySize">Memory size for <see cref="
LbfgsLogisticRegressionBinaryTrainer
"/>. Low=faster, less accurate.</param>
Standard\PoissonRegression\PoissonRegression.cs (1)
85
/// <param name="memorySize">Memory size for <see cref="
LbfgsLogisticRegressionBinaryTrainer
"/>. Low=faster, less accurate.</param>
StandardTrainersCatalog.cs (6)
13
using LROptions =
LbfgsLogisticRegressionBinaryTrainer
.Options;
525
/// Create <see cref="Trainers.
LbfgsLogisticRegressionBinaryTrainer
"/>, which predicts a target using a linear binary classification model trained over boolean label data.
534
/// <param name="historySize">Memory size for <see cref="Trainers.
LbfgsLogisticRegressionBinaryTrainer
"/>. Low=faster, less accurate.</param>
543
public static
LbfgsLogisticRegressionBinaryTrainer
LbfgsLogisticRegression(this BinaryClassificationCatalog.BinaryClassificationTrainers catalog,
559
/// Create <see cref="Trainers.
LbfgsLogisticRegressionBinaryTrainer
"/> with advanced options, which predicts a target using a linear binary classification model trained over boolean label data.
570
public static
LbfgsLogisticRegressionBinaryTrainer
LbfgsLogisticRegression(this BinaryClassificationCatalog.BinaryClassificationTrainers catalog, LROptions options)
Microsoft.ML.Tests (7)
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);
Scenarios\OvaTest.cs (1)
36
var
logReg = mlContext.BinaryClassification.Trainers.LbfgsLogisticRegression();
TrainerEstimators\LbfgsTests.cs (3)
22
var
trainer = ML.BinaryClassification.Trainers.LbfgsLogisticRegression();
63
pipe = pipe.Append(ML.BinaryClassification.Trainers.LbfgsLogisticRegression(new
LbfgsLogisticRegressionBinaryTrainer
.Options { ShowTrainingStatistics = true }));
84
new
LbfgsLogisticRegressionBinaryTrainer
.Options