2 instantiations of CountTargetEncodingTransformer
Microsoft.ML.Transforms (2)
Dracula\CountTargetEncodingTransformer.cs (2)
292return new CountTargetEncodingTransformer(_host, hashingTransformer, _countTableEstimator.Fit(hashingTransformer.Transform(input))); 374return new CountTargetEncodingTransformer(host, ctx);
23 references to CountTargetEncodingTransformer
Microsoft.ML.Transforms (23)
Dracula\CountTableBuilder.cs (1)
16/// Builds a table that provides counts to the <see cref="CountTargetEncodingTransformer"/>
Dracula\CountTargetEncodingTransformer.cs (22)
15[assembly: LoadableClass(CountTargetEncodingTransformer.Summary, typeof(IDataTransform), typeof(CountTargetEncodingEstimator), typeof(CountTargetEncodingEstimator.Options), typeof(SignatureDataTransform), 16CountTargetEncodingTransformer.UserName, CountTargetEncodingTransformer.LoaderSignature, "Dracula")] 18[assembly: LoadableClass(CountTargetEncodingTransformer.Summary, typeof(CountTargetEncodingTransformer), typeof(CountTargetEncodingEstimator), null, typeof(SignatureLoadModel), 19CountTargetEncodingTransformer.UserName, CountTargetEncodingTransformer.LoaderSignature)] 45/// <seealso cref="CountTargetEncodingCatalog.CountTargetEncode(TransformsCatalog, InputOutputColumnPair[], CountTargetEncodingTransformer, string)" /> 47/// <seealso cref="CountTargetEncodingCatalog.CountTargetEncode(TransformsCatalog, string, CountTargetEncodingTransformer, string, string)"/> 49internal class CountTargetEncodingEstimator : IEstimator<CountTargetEncodingTransformer> 141internal CountTargetEncodingEstimator(IHostEnvironment env, string labelColumnName, CountTargetEncodingTransformer initialCounts, params InputOutputColumnPair[] columns) 227if (transformer is CountTargetEncodingTransformer cte) 237if ((cte = transformerChain[i] as CountTargetEncodingTransformer) != null) 286private static CountTargetEncodingTransformer Create(IHostEnvironment env, ModelLoadContext ctx) 287=> CountTargetEncodingTransformer.Create(env, ctx); 289public CountTargetEncodingTransformer Fit(IDataView input) 327loaderAssemblyName: typeof(CountTargetEncodingTransformer).Assembly.FullName); 335_host = env.Register(nameof(CountTargetEncodingTransformer)); 366internal static CountTargetEncodingTransformer Create(IHostEnvironment env, ModelLoadContext ctx) 480InputOutputColumnPair[] columns, CountTargetEncodingTransformer initialCounts, string labelColumn = "Label") 532CountTargetEncodingTransformer initialCounts, 541[TlcModule.EntryPoint(Name = "Transforms.CountTargetEncoder", Desc = CountTargetEncodingTransformer.Summary, UserName = CountTableTransformer.UserName, ShortName = "Count")]