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