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