Implemented interface member:
method
Fit
Microsoft.ML.IEstimator<TTransformer>.Fit(Microsoft.ML.IDataView)
35 references to Fit
Microsoft.ML.Core.Tests (1)
UnitTests\TestEntryPoints.cs (1)
1557
data = new ValueToKeyMappingEstimator(Env, "Label", "Label", keyOrdinality: ValueToKeyMappingEstimator.KeyOrdinality.ByValue).
Fit
(data).Transform(data);
Microsoft.ML.Samples (6)
Dynamic\DataOperations\FilterRowsByKeyColumnFraction.cs (1)
37
var transformedData = pipeline.
Fit
(data).Transform(data);
Dynamic\ModelOperations\SaveLoadModel.cs (1)
29
.MapValueToKey(outputColumnName, inputColumnName).
Fit
(dataView);
Dynamic\ModelOperations\SaveLoadModelFile.cs (1)
29
.MapValueToKey(outputColumnName, inputColumnName).
Fit
(dataView);
Dynamic\Transforms\Conversion\MapValueToKeyMultiColumn.cs (2)
38
IDataView transformedData = pipeline.
Fit
(data).Transform(data);
89
transformedData = pipelineWithLookupMap.
Fit
(data).Transform(data);
Dynamic\Transforms\NormalizeSupervisedBinning.cs (1)
39
data = mlContext.Transforms.Conversion.MapValueToKey("Bin").
Fit
(data)
Microsoft.ML.TensorFlow.Tests (4)
TensorflowTests.cs (4)
1408
.
Fit
(shuffledFullImagesDataset)
1483
.
Fit
(shuffledFullImagesDataset)
1615
.
Fit
(shuffledFullImagesDataset)
1770
.
Fit
(shuffledFullImagesDataset)
Microsoft.ML.Tests (21)
OnnxConversionTest.cs (1)
1777
var mappedData = pipeline1.
Fit
(originalData).Transform(originalData);
Scenarios\Api\TestApi.cs (1)
481
var inputWithKey = mlContext.Transforms.Conversion.MapValueToKey("KeyStrat", "TextStrat").
Fit
(input).Transform(input);
Scenarios\OvaTest.cs (4)
33
.
Fit
(textData).Transform(textData));
67
.
Fit
(textData).Transform(textData));
103
.
Fit
(textData).Transform(textData));
137
.
Fit
(textData).Transform(textData));
TermEstimatorTests.cs (3)
87
DataSaverUtils.SaveDataView(ch, saver, pipe.
Fit
(data).Transform(data), fs, keepHidden: true);
122
var transformer = est.
Fit
(dataView);
142
var termTransformer = termEst.
Fit
(dataView);
TrainerEstimators\SdcaTests.cs (1)
43
var mcData = ML.Transforms.Conversion.MapValueToKey("Label").
Fit
(data).Transform(data);
Transformers\ConvertTests.cs (1)
293
var output = pipe.
Fit
(dataView).Transform(dataView);
Transformers\KeyToBinaryVectorEstimatorTest.cs (4)
52
}).
Fit
(dataView).Transform(dataView);
71
.
Fit
(data).Transform(data);
97
var termTransformer = termEst.
Fit
(dataView);
153
var transformer = est.
Fit
(dataView);
Transformers\KeyToValueTests.cs (2)
41
new ValueToKeyMappingEstimator.ColumnOptions("B", "VectorString") }).
Fit
(data).Transform(data);
76
.
Fit
(data).Transform(data);
Transformers\KeyToVectorEstimatorTests.cs (4)
59
}).
Fit
(dataView).Transform(dataView);
81
.
Fit
(data).Transform(data);
111
var termTransformer = termEst.
Fit
(dataView);
212
var transformer = est.
Fit
(dataView);
Microsoft.ML.TorchSharp.Tests (1)
TextClassificationTests.cs (1)
317
var dataPrepTransformer = dataPrep.
Fit
(dataView);
Microsoft.ML.Transforms (2)
OneHotEncoding.cs (1)
132
_transformer = new TransformerChain<ITransformer>(term.
Fit
(input));
SvmLight\SvmLightLoader.cs (1)
581
_keyVectorsToIndexVectors = new ValueToKeyMappingEstimator(_host, nameof(IntermediateInput.FeatureKeys)).
Fit
(data);