Implemented interface member:
method
Fit
Microsoft.ML.IEstimator<TTransformer>.Fit(Microsoft.ML.IDataView)
147 references to Fit
Microsoft.ML.AutoML (2)
Sweepers\SmacSweeper.cs (1)
135var predictor = trainer.Fit(data).Model;
Tuner\SmacTuner.cs (1)
148var model = trainer.Fit(trainTestSplit.TrainSet);
Microsoft.ML.FastTree (6)
TreeEnsembleFeaturizationEstimator.cs (6)
245var trained = trainer.Fit(input); 288var trained = trainer.Fit(input); 331var trained = trainer.Fit(input); 374var trained = trainer.Fit(input); 417var trained = trainer.Fit(input); 460var trained = trainer.Fit(input);
Microsoft.ML.IntegrationTests (22)
Evaluation.cs (1)
41var model = pipeline.Fit(trainData);
ModelFiles.cs (2)
144var transformerModel = pipeline.Fit(data); 275var model = pipeline.Fit(data);
Prediction.cs (3)
85var model = pipeline.Fit(data); 108var model = pipeline.Fit(data); 123model = pipeline.Fit(data);
Training.cs (16)
59var sdca = sdcaTrainer.Fit(featurizedTrain); 60var fastTree = fastTreeTrainer.Fit(featurizedTrain); 103var firstModel = trainer.Fit(featurizedData); 107var firstModelPrime = trainer.Fit(featurizedData); 191var firstModel = trainer.Fit(featurizedData); 195var firstModelPrime = trainer.Fit(featurizedData); 235var firstModel = trainer.Fit(featurizedData); 239var firstModelPrime = trainer.Fit(featurizedData); 278var firstModel = trainer.Fit(featurizedData); 283var firstModelPrime = trainer.Fit(featurizedData); 329var firstModel = trainer.Fit(featurizedData); 333var firstModelPrime = trainer.Fit(featurizedData); 373var firstModel = trainer.Fit(featurizedData); 377var firstModelPrime = trainer.Fit(featurizedData); 421var firstModel = trainer.Fit(featurizedData); 425var firstModelPrime = trainer.Fit(featurizedData);
Microsoft.ML.PerformanceTests (2)
PredictionEngineBench.cs (1)
131var model = pipeline.Fit(data);
StochasticDualCoordinateAscentClassifierBench.cs (1)
119var predicted = trainer.Fit(trans);
Microsoft.ML.Samples (59)
Dynamic\Trainers\AnomalyDetection\RandomizedPcaSample.cs (1)
41var model = pipeline.Fit(data);
Dynamic\Trainers\AnomalyDetection\RandomizedPcaSampleWithOptions.cs (1)
49var model = pipeline.Fit(data);
Dynamic\Trainers\BinaryClassification\AveragedPerceptron.cs (1)
31var model = pipeline.Fit(trainingData);
Dynamic\Trainers\BinaryClassification\AveragedPerceptronWithOptions.cs (1)
42var model = pipeline.Fit(trainingData);
Dynamic\Trainers\BinaryClassification\Calibrators\FixedPlatt.cs (1)
33var transformer = pipeline.Fit(trainTestData.TrainSet);
Dynamic\Trainers\BinaryClassification\Calibrators\Isotonic.cs (1)
33var transformer = pipeline.Fit(trainTestData.TrainSet);
Dynamic\Trainers\BinaryClassification\Calibrators\Naive.cs (1)
33var transformer = pipeline.Fit(trainTestData.TrainSet);
Dynamic\Trainers\BinaryClassification\Calibrators\Platt.cs (1)
33var transformer = pipeline.Fit(trainTestData.TrainSet);
Dynamic\Trainers\BinaryClassification\FastForest.cs (1)
34var model = pipeline.Fit(trainingData);
Dynamic\Trainers\BinaryClassification\FastForestWithOptions.cs (1)
46var model = pipeline.Fit(trainingData);
Dynamic\Trainers\BinaryClassification\FastTree.cs (1)
34var model = pipeline.Fit(trainingData);
Dynamic\Trainers\BinaryClassification\FastTreeWithOptions.cs (1)
46var model = pipeline.Fit(trainingData);
Dynamic\Trainers\BinaryClassification\LbfgsLogisticRegression.cs (1)
31var model = pipeline.Fit(trainingData);
Dynamic\Trainers\BinaryClassification\LbfgsLogisticRegressionWithOptions.cs (1)
40var model = pipeline.Fit(trainingData);
Dynamic\Trainers\BinaryClassification\LdSvm.cs (1)
31var model = pipeline.Fit(trainingData);
Dynamic\Trainers\BinaryClassification\LdSvmWithOptions.cs (1)
40var model = pipeline.Fit(trainingData);
Dynamic\Trainers\BinaryClassification\LightGbm.cs (1)
34var model = pipeline.Fit(trainingData);
Dynamic\Trainers\BinaryClassification\LightGbmWithOptions.cs (1)
45var model = pipeline.Fit(trainingData);
Dynamic\Trainers\BinaryClassification\LinearSvm.cs (1)
31var model = pipeline.Fit(trainingData);
Dynamic\Trainers\BinaryClassification\LinearSvmWithOptions.cs (1)
40var model = pipeline.Fit(trainingData);
Dynamic\Trainers\BinaryClassification\SdcaLogisticRegression.cs (1)
39var model = pipeline.Fit(trainingData);
Dynamic\Trainers\BinaryClassification\SdcaLogisticRegressionWithOptions.cs (1)
51var model = pipeline.Fit(trainingData);
Dynamic\Trainers\BinaryClassification\SdcaNonCalibrated.cs (1)
39var model = pipeline.Fit(trainingData);
Dynamic\Trainers\BinaryClassification\SdcaNonCalibratedWithOptions.cs (1)
53var model = pipeline.Fit(trainingData);
Dynamic\Trainers\BinaryClassification\SgdCalibrated.cs (1)
31var model = pipeline.Fit(trainingData);
Dynamic\Trainers\BinaryClassification\SgdCalibratedWithOptions.cs (1)
43var model = pipeline.Fit(trainingData);
Dynamic\Trainers\BinaryClassification\SgdNonCalibrated.cs (1)
31var model = pipeline.Fit(trainingData);
Dynamic\Trainers\BinaryClassification\SgdNonCalibratedWithOptions.cs (1)
40var model = pipeline.Fit(trainingData);
Dynamic\Trainers\BinaryClassification\SymbolicSgdLogisticRegression.cs (1)
34var model = pipeline.Fit(trainingData);
Dynamic\Trainers\BinaryClassification\SymbolicSgdLogisticRegressionWithOptions.cs (1)
43var model = pipeline.Fit(trainingData);
Dynamic\Trainers\Clustering\KMeans.cs (1)
31var model = pipeline.Fit(trainingData);
Dynamic\Trainers\Clustering\KMeansWithOptions.cs (1)
39var model = pipeline.Fit(trainingData);
Dynamic\Trainers\Ranking\FastTree.cs (1)
33var model = pipeline.Fit(trainingData);
Dynamic\Trainers\Ranking\FastTreeWithOptions.cs (1)
47var model = pipeline.Fit(trainingData);
Dynamic\Trainers\Ranking\LightGbm.cs (1)
33var model = pipeline.Fit(trainingData);
Dynamic\Trainers\Ranking\LightGbmWithOptions.cs (1)
48var model = pipeline.Fit(trainingData);
Dynamic\Trainers\Regression\FastForest.cs (1)
35var model = pipeline.Fit(trainingData);
Dynamic\Trainers\Regression\FastForestWithOptions.cs (1)
48var model = pipeline.Fit(trainingData);
Dynamic\Trainers\Regression\FastTree.cs (1)
35var model = pipeline.Fit(trainingData);
Dynamic\Trainers\Regression\FastTreeTweedie.cs (1)
35var model = pipeline.Fit(trainingData);
Dynamic\Trainers\Regression\FastTreeTweedieWithOptions.cs (1)
50var model = pipeline.Fit(trainingData);
Dynamic\Trainers\Regression\FastTreeWithOptions.cs (1)
51var model = pipeline.Fit(trainingData);
Dynamic\Trainers\Regression\Gam.cs (1)
35var model = pipeline.Fit(trainingData);
Dynamic\Trainers\Regression\GamWithOptions.cs (1)
46var model = pipeline.Fit(trainingData);
Dynamic\Trainers\Regression\LbfgsPoissonRegression.cs (1)
33var model = pipeline.Fit(trainingData);
Dynamic\Trainers\Regression\LbfgsPoissonRegressionWithOptions.cs (1)
47var model = pipeline.Fit(trainingData);
Dynamic\Trainers\Regression\LightGbm.cs (1)
36var model = pipeline.Fit(trainingData);
Dynamic\Trainers\Regression\LightGbmWithOptions.cs (1)
55var model = pipeline.Fit(trainingData);
Dynamic\Trainers\Regression\OnlineGradientDescent.cs (1)
32var model = pipeline.Fit(trainingData);
Dynamic\Trainers\Regression\OnlineGradientDescentWithOptions.cs (1)
47var model = pipeline.Fit(trainingData);
Dynamic\Trainers\Regression\OrdinaryLeastSquares.cs (1)
32var model = pipeline.Fit(trainingData);
Dynamic\Trainers\Regression\OrdinaryLeastSquaresAdvanced.cs (1)
55var model = pipeline.Fit(split.TrainSet);
Dynamic\Trainers\Regression\OrdinaryLeastSquaresWithOptions.cs (1)
44var model = pipeline.Fit(trainingData);
Dynamic\Trainers\Regression\OrdinaryLeastSquaresWithOptionsAdvanced.cs (1)
59var model = pipeline.Fit(split.TrainSet);
Dynamic\Trainers\Regression\Sdca.cs (1)
32var model = pipeline.Fit(trainingData);
Dynamic\Trainers\Regression\SdcaWithOptions.cs (1)
48var model = pipeline.Fit(trainingData);
Dynamic\Transforms\CalculateFeatureContribution.cs (1)
39var linearModel = linearTrainer.Fit(transformedData);
Dynamic\Transforms\CalculateFeatureContributionCalibrated.cs (1)
40var linearModel = linearTrainer.Fit(transformedData);
Dynamic\Transforms\TreeFeaturization\PretrainedTreeEnsembleFeaturizationWithOptions.cs (1)
50var model = trainer.Fit(dataView);
Microsoft.ML.Samples.OneDal (3)
Program.cs (3)
81ITransformer model = trainer.Fit(preprocessedTrainingData); 113ITransformer model = trainer.Fit(preprocessedTrainingData); 141ITransformer model = trainer.Fit(preprocessedTrainingData);
Microsoft.ML.Sweeper (1)
Algorithms\SmacSweeper.cs (1)
145var predictor = trainer.Fit(view);
Microsoft.ML.TensorFlow.Tests (1)
TensorflowTests.cs (1)
1887using var trainedModel = pipeline.Fit(trainDataset);
Microsoft.ML.Tests (51)
AnomalyDetectionTests.cs (4)
154var model = trainer.Fit(data); 198var model = trainer.Fit(data); 251var model = trainer.Fit(trainData); 283var model = trainer.Fit(data);
CalibratedModelParametersTests.cs (3)
28new LbfgsLogisticRegressionBinaryTrainer.Options { NumberOfThreads = 1 }).Fit(data); 50new GamBinaryTrainer.Options { NumberOfThreads = 1 }).Fit(data); 73new FastTreeBinaryTrainer.Options { NumberOfThreads = 1 }).Fit(data);
FeatureContributionTests.cs (1)
31var model = ML.Regression.Trainers.Ols().Fit(data);
PermutationFeatureImportanceTests.cs (10)
38var model = ML.Regression.Trainers.OnlineGradientDescent().Fit(data); 180var model = ML.Regression.Trainers.OnlineGradientDescent().Fit(data); 268var model = ML.Regression.Trainers.OnlineGradientDescent().Fit(data); 343new LbfgsLogisticRegressionBinaryTrainer.Options { NumberOfThreads = 1 }).Fit(data); 417new LbfgsLogisticRegressionBinaryTrainer.Options { NumberOfThreads = 1 }).Fit(data); 492var model = ff.Fit(data); 525var model = ML.MulticlassClassification.Trainers.LbfgsMaximumEntropy().Fit(data); 598new LbfgsMaximumEntropyMulticlassTrainer.Options { MaximumNumberOfIterations = 1000 }).Fit(data); 676var model = ML.Ranking.Trainers.FastTree().Fit(data); 745var model = ML.Ranking.Trainers.FastTree().Fit(data);
Scenarios\Api\Estimators\TrainWithInitialPredictor.cs (1)
38var firstModel = trainer.Fit(trainData);
Scenarios\Api\TestApi.cs (1)
188estimator.Fit(cached).Transform(cached);
Scenarios\ClusteringTests.cs (1)
69var trainedModel = pipe.Fit(trainData);
TrainerEstimators\LbfgsTests.cs (3)
27var model = trainer.Fit(transformedDataView); 41var model = trainer.Fit(transformedDataView); 53var model = trainer.Fit(dataView);
TrainerEstimators\OlsLinearRegressionTests.cs (2)
21var model = trainer.Fit(dataView); 27model = trainer.Fit(dataView);
TrainerEstimators\OneDalEstimators.cs (1)
73var model = trainer.Fit(preprocessedTrainingData);
TrainerEstimators\OnlineLinearTests.cs (3)
31var ogdModel = ogdTrainer.Fit(regressionTrainData); 46var apModel = apTrainer.Fit(binaryTrainData); 52var svmModel = svmTrainer.Fit(binaryTrainData);
TrainerEstimators\SdcaTests.cs (4)
78var model = pipeline.Fit(data); 123var modelWithoutWeights = sdcaWithoutWeightBinary.Fit(data); 124var modelWithWeights = sdcaWithWeightBinary.Fit(data); 238var model = pipeline.Fit(data);
TrainerEstimators\SymSgdClassificationTests.cs (3)
25var model = trainer.Fit(transformedDataView); 36var initPredictor = ML.BinaryClassification.Trainers.SdcaLogisticRegression().Fit(transformedData); 43var notInitPredictor = new SymbolicSgdLogisticRegressionBinaryTrainer(Env, new SymbolicSgdLogisticRegressionBinaryTrainer.Options()).Fit(transformedData);
TrainerEstimators\TrainerEstimators.cs (3)
103var model = trainer.Fit(transformedDataView); 134var model = trainer.Fit(transformedDataView); 176var model = trainer.Fit(transformedDataView);
TrainerEstimators\TreeEnsembleFeaturizerTest.cs (6)
34var model = trainer.Fit(dataView); 142var model = trainer.Fit(dataView); 194var model = trainer.Fit(dataView); 249var model = trainer.Fit(dataView); 317var treeModel = trainer.Fit(dataView); 339var naiveModel = naivePipeline.Fit(dataView);
TrainerEstimators\TreeEstimators.cs (5)
474var gbm = gbmTrainer.Fit(dataView); 912var transformer = trainer.Fit(dataView); 930var transformer = trainer.Fit(dataView); 948var transformer = trainer.Fit(dataView); 973var transformer = trainer.Fit(dataView);