1 write to Trainers
Microsoft.ML.Data (1)
TrainCatalog.cs (1)
179
Trainers
= new BinaryClassificationTrainers(this);
234 references to Trainers
Microsoft.ML.AutoML (18)
SweepableEstimator\Estimators\FastForest.cs (2)
23
return context.MulticlassClassification.Trainers.OneVersusAll(context.BinaryClassification.
Trainers
.FastForest(option), labelColumnName: param.LabelColumnName);
60
return context.BinaryClassification.
Trainers
.FastForest(option);
SweepableEstimator\Estimators\FastTree.cs (2)
28
return context.MulticlassClassification.Trainers.OneVersusAll(context.BinaryClassification.
Trainers
.FastTree(option), labelColumnName: param.LabelColumnName);
97
return context.BinaryClassification.
Trainers
.FastTree(option);
SweepableEstimator\Estimators\Lbfgs.cs (2)
59
return context.BinaryClassification.
Trainers
.LbfgsLogisticRegression(option);
77
var binaryTrainer = context.BinaryClassification.
Trainers
.LbfgsLogisticRegression(option);
SweepableEstimator\Estimators\LightGbm.cs (1)
61
return context.BinaryClassification.
Trainers
.LightGbm(option);
SweepableEstimator\Estimators\Sdca.cs (2)
59
return context.BinaryClassification.
Trainers
.SdcaLogisticRegression(option);
77
var binaryTrainer = context.BinaryClassification.
Trainers
.SdcaLogisticRegression(option);
TrainerExtensions\BinaryTrainerExtensions.cs (9)
44
return mlContext.BinaryClassification.
Trainers
.AveragedPerceptron(options);
76
return mlContext.BinaryClassification.
Trainers
.FastForest(options);
98
return mlContext.BinaryClassification.
Trainers
.FastTree(options);
119
return mlContext.BinaryClassification.
Trainers
.LightGbm(options);
140
return mlContext.BinaryClassification.
Trainers
.LinearSvm(options);
161
return mlContext.BinaryClassification.
Trainers
.SdcaLogisticRegression(options);
183
return mlContext.BinaryClassification.
Trainers
.LbfgsLogisticRegression(options);
205
return mlContext.BinaryClassification.
Trainers
.SgdCalibrated(options);
226
return mlContext.BinaryClassification.
Trainers
.SymbolicSgdLogisticRegression(options);
Microsoft.ML.AutoML.Samples (1)
Sweepable\SweepableLightGBMBinaryExperiment.cs (1)
47
return _context.BinaryClassification.
Trainers
.LightGbm(
Microsoft.ML.AutoML.Tests (1)
AutoMLExperimentTests.cs (1)
106
.Append(context.BinaryClassification.
Trainers
.LightGbm(DatasetUtil.UciAdultLabel, "_Features_", numberOfIterations: 10000));
Microsoft.ML.Core.Tests (1)
UnitTests\TestEntryPoints.cs (1)
1375
.Append(mlContext.BinaryClassification.
Trainers
.AveragedPerceptron());
Microsoft.ML.Data (1)
TrainCatalog.cs (1)
144
/// (for example, something like <see cref="BinaryClassificationCatalog.
Trainers
"/>). User code will only
Microsoft.ML.IntegrationTests (22)
DataTransformation.cs (1)
145
.Append(mlContext.BinaryClassification.
Trainers
.SdcaLogisticRegression(
Evaluation.cs (3)
67
.Append(mlContext.BinaryClassification.
Trainers
.SdcaNonCalibrated(
96
.Append(mlContext.BinaryClassification.
Trainers
.LbfgsLogisticRegression(
302
.Append(mlContext.BinaryClassification.
Trainers
.LbfgsLogisticRegression(
IntrospectiveTraining.cs (2)
83
.Append(mlContext.BinaryClassification.
Trainers
.FastTree(
227
.Append(mlContext.BinaryClassification.
Trainers
.SdcaNonCalibrated(
ModelFiles.cs (3)
139
var pipeline = mlContext.BinaryClassification.
Trainers
.Gam();
141
var pipeline1 = loader.Append(mlContext.BinaryClassification.
Trainers
.Gam());
272
var pipeline = mlContext.BinaryClassification.
Trainers
.Gam();
Prediction.cs (3)
52
.Append(mlContext.BinaryClassification.
Trainers
.LbfgsLogisticRegression(
83
var pipeline = mlContext.BinaryClassification.
Trainers
.LbfgsLogisticRegression(
106
var pipeline = mlContext.BinaryClassification.
Trainers
.LbfgsLogisticRegression(
Training.cs (10)
45
var sdcaTrainer = mlContext.BinaryClassification.
Trainers
.SdcaLogisticRegression(
48
var fastTreeTrainer = mlContext.BinaryClassification.
Trainers
.FastTree(
51
var ffmTrainer = mlContext.BinaryClassification.
Trainers
.FieldAwareFactorizationMachine();
95
var trainer = mlContext.BinaryClassification.
Trainers
.AveragedPerceptron(
139
var trainer = mlContext.BinaryClassification.
Trainers
.FieldAwareFactorizationMachine(
183
var trainer = mlContext.BinaryClassification.
Trainers
.LinearSvm(
227
var trainer = mlContext.BinaryClassification.
Trainers
.LbfgsLogisticRegression(
409
var trainer = mlContext.BinaryClassification.
Trainers
.SymbolicSgdLogisticRegression(
453
var binaryClassificationTrainer = mlContext.BinaryClassification.
Trainers
.LbfgsLogisticRegression(
484
var binaryClassificationTrainer = mlContext.BinaryClassification.
Trainers
.LbfgsLogisticRegression(
Microsoft.ML.OnnxTransformerTest (1)
DnnImageFeaturizerTest.cs (1)
230
var trainer = ML.MulticlassClassification.Trainers.OneVersusAll(ML.BinaryClassification.
Trainers
.AveragedPerceptron(labelColumnName: "Label", numberOfIterations: 10, featureColumnName: "Features"), labelColumnName: "Label")
Microsoft.ML.PerformanceTests (5)
KMeansAndLogisticRegressionBench.cs (1)
41
.Append(ml.BinaryClassification.
Trainers
.LbfgsLogisticRegression(
PredictionEngineBench.cs (2)
94
.Append(mlContext.BinaryClassification.
Trainers
.SdcaNonCalibrated(
128
var pipeline = env.BinaryClassification.
Trainers
.SdcaNonCalibrated(
RffTransform.cs (1)
49
.Append(mlContext.MulticlassClassification.Trainers.OneVersusAll(mlContext.BinaryClassification.
Trainers
.AveragedPerceptron(numberOfIterations: 10)));
TextPredictionEngineCreation.cs (1)
30
.Append(_context.BinaryClassification.
Trainers
.SdcaNonCalibrated(
Microsoft.ML.Predictor.Tests (1)
TestIniModels.cs (1)
570
.Append(mlContext.BinaryClassification.
Trainers
.Gam());
Microsoft.ML.Samples (44)
Dynamic\ModelOperations\OnnxConversion.cs (1)
64
.Append(mlContext.BinaryClassification.
Trainers
.AveragedPerceptron());
Dynamic\Trainers\BinaryClassification\AveragedPerceptron.cs (1)
27
var pipeline = mlContext.BinaryClassification.
Trainers
Dynamic\Trainers\BinaryClassification\AveragedPerceptronWithOptions.cs (1)
38
var pipeline = mlContext.BinaryClassification.
Trainers
Dynamic\Trainers\BinaryClassification\Calibrators\FixedPlatt.cs (1)
28
var pipeline = mlContext.BinaryClassification.
Trainers
Dynamic\Trainers\BinaryClassification\Calibrators\Isotonic.cs (1)
28
var pipeline = mlContext.BinaryClassification.
Trainers
Dynamic\Trainers\BinaryClassification\Calibrators\Naive.cs (1)
28
var pipeline = mlContext.BinaryClassification.
Trainers
Dynamic\Trainers\BinaryClassification\Calibrators\Platt.cs (1)
28
var pipeline = mlContext.BinaryClassification.
Trainers
Dynamic\Trainers\BinaryClassification\FactorizationMachine.cs (1)
35
var pipeline = mlContext.BinaryClassification.
Trainers
Dynamic\Trainers\BinaryClassification\FastForest.cs (1)
30
var pipeline = mlContext.BinaryClassification.
Trainers
Dynamic\Trainers\BinaryClassification\FastForestWithOptions.cs (1)
42
var pipeline = mlContext.BinaryClassification.
Trainers
Dynamic\Trainers\BinaryClassification\FastTree.cs (1)
30
var pipeline = mlContext.BinaryClassification.
Trainers
Dynamic\Trainers\BinaryClassification\FastTreeWithOptions.cs (1)
42
var pipeline = mlContext.BinaryClassification.
Trainers
Dynamic\Trainers\BinaryClassification\FieldAwareFactorizationMachine.cs (1)
36
var pipeline = mlContext.BinaryClassification.
Trainers
Dynamic\Trainers\BinaryClassification\FieldAwareFactorizationMachineWithOptions.cs (1)
52
var pipeline = mlContext.BinaryClassification.
Trainers
Dynamic\Trainers\BinaryClassification\Gam.cs (1)
39
var trainer = mlContext.BinaryClassification.
Trainers
Dynamic\Trainers\BinaryClassification\GamWithOptions.cs (1)
42
var trainer = mlContext.BinaryClassification.
Trainers
.Gam(
Dynamic\Trainers\BinaryClassification\LbfgsLogisticRegression.cs (1)
27
var pipeline = mlContext.BinaryClassification.
Trainers
Dynamic\Trainers\BinaryClassification\LbfgsLogisticRegressionWithOptions.cs (1)
36
var pipeline = mlContext.BinaryClassification.
Trainers
Dynamic\Trainers\BinaryClassification\LdSvm.cs (1)
27
var pipeline = mlContext.BinaryClassification.
Trainers
Dynamic\Trainers\BinaryClassification\LdSvmWithOptions.cs (1)
36
var pipeline = mlContext.BinaryClassification.
Trainers
Dynamic\Trainers\BinaryClassification\LightGbm.cs (1)
30
var pipeline = mlContext.BinaryClassification.
Trainers
Dynamic\Trainers\BinaryClassification\LightGbmWithOptions.cs (1)
41
var pipeline = mlContext.BinaryClassification.
Trainers
Dynamic\Trainers\BinaryClassification\LinearSvm.cs (1)
27
var pipeline = mlContext.BinaryClassification.
Trainers
Dynamic\Trainers\BinaryClassification\LinearSvmWithOptions.cs (1)
36
var pipeline = mlContext.BinaryClassification.
Trainers
Dynamic\Trainers\BinaryClassification\PermutationFeatureImportance.cs (1)
30
.Append(mlContext.BinaryClassification.
Trainers
Dynamic\Trainers\BinaryClassification\PermutationFeatureImportanceLoadFromDisk.cs (1)
26
.Append(mlContext.BinaryClassification.
Trainers
.SdcaLogisticRegression()
Dynamic\Trainers\BinaryClassification\PriorTrainer.cs (1)
27
var pipeline = mlContext.BinaryClassification.
Trainers
Dynamic\Trainers\BinaryClassification\SdcaLogisticRegression.cs (1)
35
var pipeline = mlContext.BinaryClassification.
Trainers
Dynamic\Trainers\BinaryClassification\SdcaLogisticRegressionWithOptions.cs (1)
47
var pipeline = mlContext.BinaryClassification.
Trainers
Dynamic\Trainers\BinaryClassification\SdcaNonCalibrated.cs (1)
35
var pipeline = mlContext.BinaryClassification.
Trainers
Dynamic\Trainers\BinaryClassification\SdcaNonCalibratedWithOptions.cs (1)
49
var pipeline = mlContext.BinaryClassification.
Trainers
Dynamic\Trainers\BinaryClassification\SgdCalibrated.cs (1)
27
var pipeline = mlContext.BinaryClassification.
Trainers
Dynamic\Trainers\BinaryClassification\SgdCalibratedWithOptions.cs (1)
39
var pipeline = mlContext.BinaryClassification.
Trainers
Dynamic\Trainers\BinaryClassification\SgdNonCalibrated.cs (1)
27
var pipeline = mlContext.BinaryClassification.
Trainers
Dynamic\Trainers\BinaryClassification\SgdNonCalibratedWithOptions.cs (1)
36
var pipeline = mlContext.BinaryClassification.
Trainers
Dynamic\Trainers\BinaryClassification\SymbolicSgdLogisticRegression.cs (1)
30
var pipeline = mlContext.BinaryClassification.
Trainers
Dynamic\Trainers\BinaryClassification\SymbolicSgdLogisticRegressionWithOptions.cs (1)
39
var pipeline = mlContext.BinaryClassification.
Trainers
Dynamic\Trainers\MulticlassClassification\OneVersusAll.cs (1)
34
mlContext.BinaryClassification.
Trainers
.SdcaLogisticRegression()));
Dynamic\Trainers\MulticlassClassification\PairwiseCoupling.cs (1)
34
mlContext.BinaryClassification.
Trainers
.SdcaLogisticRegression()));
Dynamic\Trainers\Regression\GamAdvanced.cs (1)
39
var trainer = mlContext.BinaryClassification.
Trainers
.Gam(
Dynamic\Trainers\Regression\GamWithOptionsAdvanced.cs (1)
42
var trainer = mlContext.BinaryClassification.
Trainers
.Gam(
Dynamic\Transforms\CalculateFeatureContributionCalibrated.cs (1)
36
var linearTrainer = mlContext.BinaryClassification.
Trainers
Dynamic\Transforms\TreeFeaturization\PretrainedTreeEnsembleFeaturizationWithOptions.cs (1)
38
var trainer = mlContext.BinaryClassification.
Trainers
.FastTree(
Dynamic\WithOnFitDelegate.cs (1)
48
.Append(mlContext.BinaryClassification.
Trainers
Microsoft.ML.Samples.OneDal (1)
Program.cs (1)
79
var trainer = mlContext.BinaryClassification.
Trainers
.FastForest(options);
Microsoft.ML.Tests (138)
CalibratedModelParametersTests.cs (3)
27
var model = ML.BinaryClassification.
Trainers
.LbfgsLogisticRegression(
49
var model = ML.BinaryClassification.
Trainers
.Gam(
72
var model = ML.BinaryClassification.
Trainers
.FastTree(
FeatureContributionTests.cs (10)
123
TestFeatureContribution(ML.BinaryClassification.
Trainers
.AveragedPerceptron(), GetSparseDataset(TaskType.BinaryClassification, 100), "AveragePerceptronBinary");
129
TestFeatureContribution(ML.BinaryClassification.
Trainers
.LinearSvm(), GetSparseDataset(TaskType.BinaryClassification, 100), "SVMBinary");
135
TestFeatureContribution(ML.BinaryClassification.
Trainers
.LbfgsLogisticRegression(), GetSparseDataset(TaskType.BinaryClassification, 100), "LogisticRegressionBinary", 3);
141
TestFeatureContribution(ML.BinaryClassification.
Trainers
.FastForest(), GetSparseDataset(TaskType.BinaryClassification, 100), "FastForestBinary");
147
TestFeatureContribution(ML.BinaryClassification.
Trainers
.FastTree(), GetSparseDataset(TaskType.BinaryClassification, 100), "FastTreeBinary");
153
TestFeatureContribution(ML.BinaryClassification.
Trainers
.LightGbm(), GetSparseDataset(TaskType.BinaryClassification, 100), "LightGbmBinary");
159
TestFeatureContribution(ML.BinaryClassification.
Trainers
.SdcaNonCalibrated(
166
TestFeatureContribution(ML.BinaryClassification.
Trainers
.SgdCalibrated(
177
TestFeatureContribution(ML.BinaryClassification.
Trainers
.SymbolicSgdLogisticRegression(
188
TestFeatureContribution(ML.BinaryClassification.
Trainers
.Gam(), GetSparseDataset(TaskType.BinaryClassification, 100), "GAMBinary");
OnnxConversionTest.cs (53)
225
mlContext.BinaryClassification.
Trainers
.AveragedPerceptron(),
226
mlContext.BinaryClassification.
Trainers
.FastForest(),
227
mlContext.BinaryClassification.
Trainers
.FastTree(),
228
mlContext.BinaryClassification.
Trainers
.LbfgsLogisticRegression(),
229
mlContext.BinaryClassification.
Trainers
.LinearSvm(),
230
mlContext.BinaryClassification.
Trainers
.Prior(),
231
mlContext.BinaryClassification.
Trainers
.SdcaLogisticRegression(),
232
mlContext.BinaryClassification.
Trainers
.SdcaNonCalibrated(),
233
mlContext.BinaryClassification.
Trainers
.SgdCalibrated(),
234
mlContext.BinaryClassification.
Trainers
.SgdNonCalibrated(),
238
estimators.Add(mlContext.BinaryClassification.
Trainers
.SymbolicSgdLogisticRegression());
242
estimators.Add(mlContext.BinaryClassification.
Trainers
.LightGbm());
283
ML.BinaryClassification.
Trainers
.AveragedPerceptron(),
284
ML.BinaryClassification.
Trainers
.FastForest(),
285
ML.BinaryClassification.
Trainers
.FastTree(),
286
ML.BinaryClassification.
Trainers
.LbfgsLogisticRegression(),
287
ML.BinaryClassification.
Trainers
.LinearSvm(),
288
ML.BinaryClassification.
Trainers
.Prior(),
289
ML.BinaryClassification.
Trainers
.SdcaLogisticRegression(),
290
ML.BinaryClassification.
Trainers
.SdcaNonCalibrated(),
291
ML.BinaryClassification.
Trainers
.SgdCalibrated(),
292
ML.BinaryClassification.
Trainers
.SgdNonCalibrated(),
293
ML.BinaryClassification.
Trainers
.SymbolicSgdLogisticRegression(),
297
estimators.Add(ML.BinaryClassification.
Trainers
.LightGbm());
796
.Append(mlContext.BinaryClassification.
Trainers
.FastTree(labelColumnName: "Label", featureColumnName: "Features", numberOfLeaves: 2, numberOfTrees: 1, minimumExampleCountPerLeaf: 2));
1654
mlContext.BinaryClassification.
Trainers
.AveragedPerceptron()),
1656
mlContext.BinaryClassification.
Trainers
.AveragedPerceptron(), useProbabilities:false),
1658
mlContext.BinaryClassification.
Trainers
.LbfgsLogisticRegression()),
1660
mlContext.BinaryClassification.
Trainers
.LbfgsLogisticRegression(), useProbabilities:false),
1662
mlContext.BinaryClassification.
Trainers
.LinearSvm()),
1664
mlContext.BinaryClassification.
Trainers
.LinearSvm(), useProbabilities:false),
1666
mlContext.BinaryClassification.
Trainers
.FastForest()),
1668
mlContext.BinaryClassification.
Trainers
.FastForest(), useProbabilities:false),
1936
mlContext.BinaryClassification.
Trainers
.AveragedPerceptron("Label", "MyFeatureVector"),
1937
mlContext.BinaryClassification.
Trainers
.FastForest("Label", "MyFeatureVector"),
1938
mlContext.BinaryClassification.
Trainers
.FastTree("Label", "MyFeatureVector"),
1939
mlContext.BinaryClassification.
Trainers
.LbfgsLogisticRegression("Label", "MyFeatureVector"),
1940
mlContext.BinaryClassification.
Trainers
.LinearSvm("Label", "MyFeatureVector"),
1941
mlContext.BinaryClassification.
Trainers
.Prior(),
1942
mlContext.BinaryClassification.
Trainers
.SdcaLogisticRegression("Label", "MyFeatureVector"),
1943
mlContext.BinaryClassification.
Trainers
.SdcaNonCalibrated("Label", "MyFeatureVector"),
1944
mlContext.BinaryClassification.
Trainers
.SgdCalibrated("Label", "MyFeatureVector"),
1945
mlContext.BinaryClassification.
Trainers
.SgdNonCalibrated("Label", "MyFeatureVector"),
1949
estimators.Add(mlContext.BinaryClassification.
Trainers
.SymbolicSgdLogisticRegression("Label", "MyFeatureVector"));
1953
estimators.Add(mlContext.BinaryClassification.
Trainers
.LightGbm("Label", "MyFeatureVector"));
1981
mlContext.BinaryClassification.
Trainers
.AveragedPerceptron("Label", "MyFeatureVector")),
1983
mlContext.BinaryClassification.
Trainers
.AveragedPerceptron("Label", "MyFeatureVector"), useProbabilities:false),
1985
mlContext.BinaryClassification.
Trainers
.LbfgsLogisticRegression("Label", "MyFeatureVector")),
1987
mlContext.BinaryClassification.
Trainers
.LbfgsLogisticRegression("Label", "MyFeatureVector"), useProbabilities:false),
1989
mlContext.BinaryClassification.
Trainers
.LinearSvm("Label", "MyFeatureVector")),
1991
mlContext.BinaryClassification.
Trainers
.LinearSvm("Label", "MyFeatureVector"), useProbabilities:false),
1993
mlContext.BinaryClassification.
Trainers
.FastForest("Label", "MyFeatureVector")),
1995
mlContext.BinaryClassification.
Trainers
.FastForest("Label", "MyFeatureVector"), useProbabilities:false),
PermutationFeatureImportanceTests.cs (3)
342
var model = ML.BinaryClassification.
Trainers
.LbfgsLogisticRegression(
416
var model = ML.BinaryClassification.
Trainers
.LbfgsLogisticRegression(
488
var ff = ML.BinaryClassification.
Trainers
.FastForest();
Scenarios\Api\CookbookSamples\CookbookSamplesDynamicApi.cs (4)
106
.Append(mlContext.BinaryClassification.
Trainers
619
.Append(mlContext.BinaryClassification.
Trainers
.FastTree(numberOfTrees: 50));
742
.Append(mlContext.BinaryClassification.
Trainers
.FastTree(labelColumnName: "Label"));
781
.Append(mlContext.BinaryClassification.
Trainers
.FastTree(labelColumnName: "Label"));
Scenarios\Api\Estimators\MultithreadedPrediction.cs (1)
33
.Append(ml.BinaryClassification.
Trainers
.SdcaNonCalibrated(
Scenarios\Api\Estimators\PredictAndMetadata.cs (1)
112
var singleTrainer = mlContext.BinaryClassification.
Trainers
.FastTree();
Scenarios\Api\Estimators\SimpleTrainAndPredict.cs (2)
31
.Append(ml.BinaryClassification.
Trainers
.SdcaNonCalibrated(
68
.Append(ml.BinaryClassification.
Trainers
.SymbolicSgdLogisticRegression(new SymbolicSgdLogisticRegressionBinaryTrainer.Options
Scenarios\Api\Estimators\TrainWithInitialPredictor.cs (2)
35
var trainer = ml.BinaryClassification.
Trainers
.SdcaNonCalibrated(
41
var secondTrainer = ml.BinaryClassification.
Trainers
.AveragedPerceptron("Label", "Features");
Scenarios\Api\TestApi.cs (1)
185
var estimator = mlContext.BinaryClassification.
Trainers
.AveragedPerceptron(
Scenarios\OvaTest.cs (4)
36
var logReg = mlContext.BinaryClassification.
Trainers
.LbfgsLogisticRegression();
70
var ap = mlContext.BinaryClassification.
Trainers
.AveragedPerceptron(
107
mlContext.BinaryClassification.
Trainers
.FastTree(new FastTreeBinaryTrainer.Options { NumberOfThreads = 1 }),
141
mlContext.BinaryClassification.
Trainers
.LinearSvm(new LinearSvmTrainer.Options { NumberOfIterations = 100 }),
TrainerEstimators\CalibratorEstimators.cs (1)
100
var binaryTrainer = ML.BinaryClassification.
Trainers
.AveragedPerceptron();
TrainerEstimators\FAFMEstimator.cs (3)
26
.Append(mlContext.BinaryClassification.
Trainers
.FieldAwareFactorizationMachine());
52
var pipeline = mlContext.BinaryClassification.
Trainers
.FieldAwareFactorizationMachine(ffmArgs);
80
var est = ML.BinaryClassification.
Trainers
.FieldAwareFactorizationMachine(ffmArgs);
TrainerEstimators\LbfgsTests.cs (3)
22
var trainer = ML.BinaryClassification.
Trainers
.LbfgsLogisticRegression();
63
pipe = pipe.Append(ML.BinaryClassification.
Trainers
.LbfgsLogisticRegression(new LbfgsLogisticRegressionBinaryTrainer.Options { ShowTrainingStatistics = true }));
83
pipe = pipe.Append(ML.BinaryClassification.
Trainers
.LbfgsLogisticRegression(
TrainerEstimators\MetalinearEstimators.cs (4)
26
var averagePerceptron = ML.BinaryClassification.
Trainers
.AveragedPerceptron(
46
var sdcaTrainer = ML.BinaryClassification.
Trainers
.SdcaNonCalibrated(
64
var sdcaTrainer = ML.BinaryClassification.
Trainers
.SdcaNonCalibrated(
87
var sdcaTrainer = ML.BinaryClassification.
Trainers
.SdcaNonCalibrated(
TrainerEstimators\OneDalEstimators.cs (1)
72
var trainer = ML.BinaryClassification.
Trainers
.FastForest(options);
TrainerEstimators\OnlineLinearTests.cs (2)
42
var apTrainer = ML.BinaryClassification.
Trainers
.AveragedPerceptron(
49
var svmTrainer = ML.BinaryClassification.
Trainers
.LinearSvm();
TrainerEstimators\PriorRandomTests.cs (1)
35
var pipe = ML.BinaryClassification.
Trainers
.Prior("Label");
TrainerEstimators\SdcaTests.cs (6)
31
var binaryTrainer = ML.BinaryClassification.
Trainers
.SdcaLogisticRegression(
35
var nonCalibratedBinaryTrainer = ML.BinaryClassification.
Trainers
.SdcaNonCalibrated(
75
var pipeline = mlContext.BinaryClassification.
Trainers
.SdcaLogisticRegression(labelColumnName: "Label", featureColumnName: "Features", l2Regularization: 0.001f);
118
var sdcaWithoutWeightBinary = mlContext.BinaryClassification.
Trainers
.SdcaLogisticRegression(
120
var sdcaWithWeightBinary = mlContext.BinaryClassification.
Trainers
.SdcaLogisticRegression(
234
var pipeline = mlContext.BinaryClassification.
Trainers
.SdcaNonCalibrated(
TrainerEstimators\SymSgdClassificationTests.cs (1)
36
var initPredictor = ML.BinaryClassification.
Trainers
.SdcaLogisticRegression().Fit(transformedData);
TrainerEstimators\TrainerEstimators.cs (7)
92
var trainers = new[] { ML.BinaryClassification.
Trainers
.SgdCalibrated(l2Regularization: 0, numberOfIterations: 80),
93
ML.BinaryClassification.
Trainers
.SgdCalibrated(new Trainers.SgdCalibratedTrainer.Options(){ L2Regularization = 0, NumberOfIterations = 80})};
124
var trainers = new[] { ML.BinaryClassification.
Trainers
.SgdNonCalibrated(lossFunction : new SmoothedHingeLoss()),
125
ML.BinaryClassification.
Trainers
.SgdNonCalibrated(new Trainers.SgdNonCalibratedTrainer.Options() { LossFunction = new HingeLoss() }) };
164
ML.BinaryClassification.
Trainers
.LdSvm(new LdSvmTrainer.Options() { LambdaTheta = 0.02f, NumberOfIterations = 100 }),
165
ML.BinaryClassification.
Trainers
.LdSvm(numberOfIterations: 100),
166
ML.BinaryClassification.
Trainers
.LdSvm(numberOfIterations: 100, useCachedData: false)
TrainerEstimators\TreeEnsembleFeaturizerTest.cs (11)
25
var trainer = ML.BinaryClassification.
Trainers
.FastTree(
132
var trainer = ML.BinaryClassification.
Trainers
.FastTree(
184
var trainer = ML.BinaryClassification.
Trainers
.FastForest(
239
var trainer = ML.BinaryClassification.
Trainers
.FastTree(
307
var trainer = ML.BinaryClassification.
Trainers
.FastTree(
332
.Append(ML.BinaryClassification.
Trainers
.SdcaLogisticRegression("Label", "CombinedFeatures"));
338
var naivePipeline = ML.BinaryClassification.
Trainers
.SdcaLogisticRegression("Label", "Features");
378
.Append(ML.BinaryClassification.
Trainers
.SdcaLogisticRegression("Label", "CombinedFeatures"));
417
.Append(ML.BinaryClassification.
Trainers
.SdcaLogisticRegression("Label", "CombinedFeatures"));
741
.Append(ML.BinaryClassification.
Trainers
.SdcaLogisticRegression("Label", "CombinedFeatures"));
752
.Append(ML.BinaryClassification.
Trainers
.SdcaLogisticRegression("Label", "CombinedFeatures"));
TrainerEstimators\TreeEstimators.cs (10)
41
var trainer = ML.BinaryClassification.
Trainers
.FastTree(
64
var trainer = ML.BinaryClassification.
Trainers
.LightGbm(new LightGbmBinaryTrainer.Options
86
var trainer = ML.BinaryClassification.
Trainers
.LightGbm(new LightGbmBinaryTrainer.Options
112
var trainer = ML.BinaryClassification.
Trainers
.LightGbm(new LightGbmBinaryTrainer.Options
152
var trainer = ML.BinaryClassification.
Trainers
.FastForest(
988
var estimator = pipeline.Append(ML.BinaryClassification.
Trainers
.FastTree(
1006
var estimator = pipeline.Append(ML.BinaryClassification.
Trainers
.FastForest(
1027
var estimator = pipeline.Append(context.MulticlassClassification.Trainers.OneVersusAll(context.BinaryClassification.
Trainers
.FastTree()));
1049
var trainer = pipeline.Append(ML.BinaryClassification.
Trainers
.LightGbm(
1084
var trainer = pipeline.Append(context.BinaryClassification.
Trainers
.LightGbm(
Transformers\CountTargetEncodingTests.cs (3)
87
.Append(ML.BinaryClassification.
Trainers
.AveragedPerceptron().WithOnFitDelegate(x => weights = x.Model.Weights));
95
.Append(ML.BinaryClassification.
Trainers
.AveragedPerceptron().WithOnFitDelegate(x => weightsNoNoise = x.Model.Weights));
104
.Append(ML.BinaryClassification.
Trainers
.AveragedPerceptron().WithOnFitDelegate(x => weightsNoNoise2 = x.Model.Weights));
Transformers\TextFeaturizerTests.cs (1)
783
.Append(ML.BinaryClassification.
Trainers
.FastTree());