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