1 instantiation of OneHotEncodingTransformer
Microsoft.ML.Transforms (1)
OneHotEncoding.cs (1)
339public OneHotEncodingTransformer Fit(IDataView input) => new OneHotEncodingTransformer(_term, _toSomething, input);
21 references to OneHotEncodingTransformer
Microsoft.ML.Core.Tests (2)
UnitTests\TestEntryPoints.cs (2)
4447var cat = Categorical.CatTransformDict(Env, new OneHotEncodingTransformer.Options() 4450Columns = new[] { new OneHotEncodingTransformer.Column { Name = "Categories", Source = "Categories" } }
Microsoft.ML.PerformanceTests (7)
Helpers\EnvironmentFactory.cs (1)
44environment.ComponentCatalog.RegisterAssembly(typeof(OneHotEncodingTransformer).Assembly);
Text\MultiClassClassification.cs (6)
40var environment = EnvironmentFactory.CreateClassificationEnvironment<TextLoader, OneHotEncodingTransformer, AveragedPerceptronTrainer, LinearBinaryModelParameters>(); 55var environment = EnvironmentFactory.CreateClassificationEnvironment<TextLoader, OneHotEncodingTransformer, LightGbmMulticlassTrainer, OneVersusAllModelParameters>(); 71var environment = EnvironmentFactory.CreateClassificationEnvironment<TextLoader, OneHotEncodingTransformer, AveragedPerceptronTrainer, LinearBinaryModelParameters>(); 87var environment = EnvironmentFactory.CreateClassificationEnvironment<TextLoader, OneHotEncodingTransformer, SdcaMaximumEntropyMulticlassTrainer, MaximumEntropyModelParameters>(); 115var environment = EnvironmentFactory.CreateClassificationEnvironment<TextLoader, OneHotEncodingTransformer, AveragedPerceptronTrainer, LinearBinaryModelParameters>(); 126var environment = EnvironmentFactory.CreateClassificationEnvironment<TextLoader, OneHotEncodingTransformer, AveragedPerceptronTrainer, LinearBinaryModelParameters>();
Microsoft.ML.TestFramework (1)
EnvironmentExtensions.cs (1)
22env.ComponentCatalog.RegisterAssembly(typeof(OneHotEncodingTransformer).Assembly); // ML.Transforms
Microsoft.ML.Transforms (11)
OneHotEncoding.cs (11)
18[assembly: LoadableClass(OneHotEncodingTransformer.Summary, typeof(IDataTransform), typeof(OneHotEncodingTransformer), typeof(OneHotEncodingTransformer.Options), typeof(SignatureDataTransform), 19OneHotEncodingTransformer.UserName, "CategoricalTransform", "CatTransform", "Categorical", "Cat")] 196public sealed class OneHotEncodingEstimator : IEstimator<OneHotEncodingTransformer> 337/// Trains and returns a <see cref="OneHotEncodingTransformer"/>. 339public OneHotEncodingTransformer Fit(IDataView input) => new OneHotEncodingTransformer(_term, _toSomething, input); 351Desc = OneHotEncodingTransformer.Summary, 352UserName = OneHotEncodingTransformer.UserName)] 353public static CommonOutputs.TransformOutput CatTransformDict(IHostEnvironment env, OneHotEncodingTransformer.Options input) 360var xf = OneHotEncodingTransformer.Create(host, input, input.Data);