42 implementations of Fit
Microsoft.ML.Data (10)
DataLoadSave\EstimatorChain.cs (1)
58public TransformerChain<TLastTransformer> Fit(IDataView input)
DataLoadSave\EstimatorExtensions.cs (1)
112public TTransformer Fit(IDataView input)
DataLoadSave\TransformWrapper.cs (1)
74public abstract TransformWrapper Fit(IDataView input);
DataLoadSave\TrivialEstimator.cs (1)
34public TTransformer Fit(IDataView input)
Prediction\CalibratorCatalog.cs (1)
140public CalibratorTransformer<TICalibrator> Fit(IDataView input)
Training\TrainerEstimatorBase.cs (1)
77public TTransformer Fit(IDataView input) => TrainTransformer(input);
Transforms\ColumnConcatenatingEstimator.cs (1)
69public ColumnConcatenatingTransformer Fit(IDataView input)
Transforms\Hashing.cs (1)
1947public HashingTransformer Fit(IDataView input) => new HashingTransformer(_host, input, _columns);
Transforms\Normalizer.cs (1)
334public NormalizingTransformer Fit(IDataView input)
Transforms\ValueToKeyMappingEstimator.cs (1)
172public ValueToKeyMappingTransformer Fit(IDataView input) => new ValueToKeyMappingTransformer(_host, input, _columns, _keyData, false);
Microsoft.ML.FastTree (1)
TreeEnsembleFeaturizationEstimator.cs (1)
112public TreeEnsembleFeaturizationTransformer Fit(IDataView input)
Microsoft.ML.Mkl.Components (1)
VectorWhitening.cs (1)
879public VectorWhiteningTransformer Fit(IDataView input)
Microsoft.ML.OnnxTransformer (1)
DnnImageFeaturizerTransform.cs (1)
107public TransformerChain<ColumnCopyingTransformer> Fit(IDataView input)
Microsoft.ML.PCA (1)
PcaTransformer.cs (1)
809public PrincipalComponentAnalysisTransformer Fit(IDataView input) => new PrincipalComponentAnalysisTransformer(_host, input, _columns);
Microsoft.ML.Recommender (1)
MatrixFactorizationTrainer.cs (1)
548public MatrixFactorizationPredictionTransformer Fit(IDataView input) => Fit(input, null);
Microsoft.ML.StandardTrainers (3)
FactorizationMachine\FactorizationMachineTrainer.cs (1)
615public FieldAwareFactorizationMachinePredictionTransformer Fit(IDataView input) => Fit(input, null, null);
Standard\MulticlassClassification\MetaMulticlassTrainer.cs (1)
191public abstract TTransformer Fit(IDataView input);
Standard\Simple\SimpleTrainers.cs (1)
243public BinaryPredictionTransformer<PriorModelParameters> Fit(IDataView input)
Microsoft.ML.TensorFlow (1)
TensorflowTransform.cs (1)
1056public TensorFlowTransformer Fit(IDataView input)
Microsoft.ML.TimeSeries (3)
SsaChangePointDetector.cs (1)
287public SsaChangePointDetector Fit(IDataView input)
SSaForecasting.cs (1)
318public SsaForecastingTransformer Fit(IDataView input)
SsaSpikeDetector.cs (1)
266public SsaSpikeDetector Fit(IDataView input)
Microsoft.ML.TorchSharp (3)
AutoFormerV2\ObjectDetectionTrainer.cs (1)
155public ObjectDetectionTransformer Fit(IDataView input)
Roberta\QATrainer.cs (1)
144public QATransformer Fit(IDataView input)
TorchSharpBaseTrainer.cs (1)
24public abstract TorchSharpBaseTransformer Fit(IDataView input);
Microsoft.ML.Transforms (16)
CountFeatureSelection.cs (1)
191public ITransformer Fit(IDataView input)
Dracula\CountTableTransformer.cs (1)
129public CountTableTransformer Fit(IDataView input)
Dracula\CountTargetEncodingTransformer.cs (1)
289public CountTargetEncodingTransformer Fit(IDataView input)
ExpressionTransformer.cs (1)
155public ExpressionTransformer Fit(IDataView input)
MissingValueReplacing.cs (1)
1061public MissingValueReplacingTransformer Fit(IDataView input) => new MissingValueReplacingTransformer(_host, input, _columns);
MutualInformationFeatureSelection.cs (1)
169public ITransformer Fit(IDataView input)
OneHotEncoding.cs (1)
339public OneHotEncodingTransformer Fit(IDataView input) => new OneHotEncodingTransformer(_term, _toSomething, input);
OneHotHashEncoding.cs (1)
390public OneHotHashEncodingTransformer Fit(IDataView input) => new OneHotHashEncodingTransformer(_hash, _toSomething, input);
RandomFourierFeaturizing.cs (1)
716public ApproximatedKernelTransformer Fit(IDataView input) => new ApproximatedKernelTransformer(_host, input, _columns);
Text\LdaTransform.cs (1)
1340public LatentDirichletAllocationTransformer Fit(IDataView input)
Text\NgramHashingTransformer.cs (1)
1237public NgramHashingTransformer Fit(IDataView input) => new NgramHashingTransformer(_host, input, _columns);
Text\NgramTransform.cs (1)
956public NgramExtractingTransformer Fit(IDataView input) => new NgramExtractingTransformer(_host, input, _columns);
Text\TextFeaturizingEstimator.cs (1)
435public ITransformer Fit(IDataView input)
Text\WordEmbeddingsExtractor.cs (1)
950public WordEmbeddingTransformer Fit(IDataView input)
Text\WrappedTextTransformers.cs (2)
191public ITransformer Fit(IDataView input) 375public ITransformer Fit(IDataView input)
Microsoft.ML.Vision (1)
DnnRetrainTransform.cs (1)
1281public DnnRetrainTransformer Fit(IDataView input)
64 references to Fit
Microsoft.ML.AutoML (8)
API\AutoCatalog.cs (3)
221/// or used elsewhere in the ML.NET ecosystem (ie in <see cref="IEstimator{TTransformer}.Fit(IDataView)"/>. 249/// or used elsewhere in the ML.NET ecosystem (ie in <see cref="IEstimator{TTransformer}.Fit(IDataView)"/>. 279/// or used elsewhere in the ML.NET ecosystem (ie in <see cref="IEstimator{TTransformer}.Fit(IDataView)"/>.
API\ExperimentBase.cs (2)
285preprocessorTransform = preFeaturizer.Fit(trainData); 370preprocessorTransforms[i] = preFeaturizer.Fit(trainDatasets[i]);
API\RunDetails\RunDetail.cs (1)
92/// You can call <see cref="IEstimator{TTransformer}.Fit(IDataView)" /> on
Experiment\Runners\RunnerUtil.cs (1)
29var model = estimator.Fit(trainData);
Experiment\SuggestedPipeline.cs (1)
129validationSet = pipeline.Fit(validationSet).Transform(validationSet);
Microsoft.ML.AutoML.Tests (5)
AutoFitTests.cs (4)
145var model = result.BestRun.Estimator.Fit(trainData); 250var model = result.BestRun.Estimator.Fit(context.Data.TakeRows(dataset, 1000)); 293var model = result.BestRun.Estimator.Fit(trainData); 324var model = result.BestRun.Estimator.Fit(trainData);
GetNextPipelineTests.cs (1)
41var scoredData = estimator.Fit(uciAdult).Transform(uciAdult);
Microsoft.ML.Data (10)
DataLoadSave\EstimatorChain.cs (1)
68xfs[i] = est.Fit(current);
DataLoadSave\EstimatorExtensions.cs (5)
114var trans = _est.Fit(input); 124/// Given an estimator, return a wrapping object that will call a delegate once <see cref="IEstimator{TTransformer}.Fit(IDataView)"/> 126/// <see cref="IEstimator{TTransformer}.Fit(IDataView)"/> method returns a specifically typed object, rather than just a general 135/// <see cref="IEstimator{TTransformer}.Fit(IDataView)"/> is called. Because <see cref="IEstimator{TTransformer}.Fit(IDataView)"/>
DebuggerExtensions.cs (1)
51return new DataDebuggerPreview(estimator.Fit(trainData).Transform(data), maxRows);
TrainCatalog.cs (1)
105var model = estimator.Fit(split.TrainSet);
Training\TrainerInputBase.cs (1)
22/// that the user will use the <see cref="IEstimator{TTransformer}.Fit(IDataView)"/> or some other train
Transforms\TransformInputBase.cs (1)
20/// create an <see cref="ITransformer"/> is to use the <see cref="IEstimator{TTransformer}.Fit(IDataView)"/> method.
Microsoft.ML.Ensemble (2)
OutputCombiners\BaseStacking.cs (1)
147Meta = trainer.Fit(view).Model;
Trainer\EnsembleTrainerBase.cs (1)
159Trainers[(int)index].Fit(subset.Data.Data).Model,
Microsoft.ML.FastTree (1)
TreeEnsembleFeaturizationEstimator.cs (1)
153/// <see cref="IEstimator{TTransformer}.Fit(IDataView)"/> produces a featurizer based on the pre-trained model.
Microsoft.ML.IntegrationTests (1)
Validation.cs (1)
116var preprocessor = pipeline.Fit(trainData);
Microsoft.ML.PerformanceTests (1)
FeaturizeTextBench.cs (1)
80var model = pipeline.Fit(_dataset);
Microsoft.ML.StandardTrainers (2)
Standard\MulticlassClassification\OneVersusAllTrainer.cs (1)
171var transformer = trainer.Fit(view);
Standard\MulticlassClassification\PairwiseCouplingTrainer.cs (1)
152var transformer = trainer.Fit(view);
Microsoft.ML.TestFramework (4)
DataPipe\TestDataPipeBase.cs (4)
65mustFail(() => estimator.Fit(validTransformInput)); 71mustFail(() => estimator.Fit(invalidInput)); 77estimator.Fit(validForFitNotValidForTransformInput); 80var transformer = estimator.Fit(validFitInput);
Microsoft.ML.Tests (26)
DatabaseLoaderTests.cs (4)
73var model = pipeline.Fit(trainingData); 109var model = pipeline.Fit(trainingData); 145var model = pipeline.Fit(trainingData); 177var model = pipeline.Fit(trainingData);
FeatureContributionTests.cs (3)
198var model = trainer.Fit(data); 222var model = trainer.Fit(data); 243var savedData = ML.Data.TakeRows(estimator.Fit(data).Transform(data), 4);
OnnxConversionTest.cs (1)
1503var model = pipe.Fit(dataView);
TrainerEstimators\CalibratorEstimators.cs (1)
104var transformer = pipeline.Fit(data);
TrainerEstimators\LbfgsTests.cs (4)
26var transformedDataView = pipe.Fit(dataView).Transform(dataView); 40var transformedDataView = pipe.Fit(dataView).Transform(dataView); 64var transformerChain = pipe.Fit(dataView) as TransformerChain<BinaryPredictionTransformer<CalibratedModelParametersBase<LinearBinaryModelParameters, PlattCalibrator>>>; 90var transformer = pipe.Fit(dataView) as TransformerChain<BinaryPredictionTransformer<CalibratedModelParametersBase<LinearBinaryModelParameters, PlattCalibrator>>>;
TrainerEstimators\SymSgdClassificationTests.cs (2)
24var transformedDataView = pipe.Fit(dataView).Transform(dataView); 34var transformedData = pipe.Fit(dataView).Transform(dataView);
TrainerEstimators\TrainerEstimators.cs (3)
102var transformedDataView = pipe.Fit(dataView).Transform(dataView); 133var transformedDataView = pipe.Fit(dataView).Transform(dataView); 175var transformedDataView = pipe.Fit(dataView).Transform(dataView);
TrainerEstimators\TreeEstimators.cs (8)
52var transformedDataView = pipe.Fit(dataView).Transform(dataView); 74var transformedDataView = pipe.Fit(dataView).Transform(dataView); 96var transformedDataView = pipe.Fit(dataView).Transform(dataView); 119var transformedDataView = pipe.Fit(dataView).Transform(dataView); 141var transformedDataView = pipe.Fit(dataView).Transform(dataView); 162var transformedDataView = pipe.Fit(dataView).Transform(dataView); 186var transformedDataView = pipe.Fit(dataView).Transform(dataView); 204var transformedDataView = pipe.Fit(dataView).Transform(dataView);
Microsoft.ML.Transforms (4)
Text\WordBagTransform.cs (3)
174(IDataTransform)CreateEstimator(env, options, SchemaShape.Create(input.Schema)).Fit(input).Transform(input); 546return CreateEstimator(env, options, SchemaShape.Create(input.Schema), termLoaderArgs).Fit(input).Transform(input)/* Create(env, options, input, termLoaderArgs).Transform(input) */as IDataTransform; 650return NgramExtractorTransform.CreateEstimator(env, options, SchemaShape.Create(input.Schema), _termLoaderArgs).Fit(input);
Text\WrappedTextTransformers.cs (1)
194return estimator.Fit(input);