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