2 instantiations of CountTableTransformer
Microsoft.ML.Transforms (2)
Dracula\CountTableTransformer.cs (2)
174
return new
CountTableTransformer
(_host, featurizer, labelClassNames,
526
return new
CountTableTransformer
(host, ctx);
42 references to CountTableTransformer
Microsoft.ML.Transforms (42)
Dracula\CountTableTransformer.cs (29)
18
[assembly: LoadableClass(
CountTableTransformer
.Summary, typeof(IDataTransform), typeof(
CountTableTransformer
), typeof(
CountTableTransformer
.Options), typeof(SignatureDataTransform),
19
CountTableTransformer
.UserName, "CountTableTransform", "CountTable", "Count")]
21
[assembly: LoadableClass(
CountTableTransformer
.Summary, typeof(IDataTransform), typeof(
CountTableTransformer
), null, typeof(SignatureLoadDataTransform),
22
CountTableTransformer
.UserName,
CountTableTransformer
.LoaderSignature)]
24
[assembly: LoadableClass(
CountTableTransformer
.Summary, typeof(
CountTableTransformer
), null, typeof(SignatureLoadModel),
25
CountTableTransformer
.UserName,
CountTableTransformer
.LoaderSignature)]
27
[assembly: LoadableClass(typeof(IRowMapper), typeof(
CountTableTransformer
), null, typeof(SignatureLoadRowMapper),
28
CountTableTransformer
.UserName,
CountTableTransformer
.LoaderSignature)]
34
internal sealed class CountTableEstimator : IEstimator<
CountTableTransformer
>
81
private readonly
CountTableTransformer
_initialCounts;
96
internal CountTableEstimator(IHostEnvironment env, string labelColumnName,
CountTableTransformer
initial, params InputOutputColumnPair[] columns)
102
private static ColumnOptionsBase[] ExtractColumnOptions(
CountTableTransformer
initial, InputOutputColumnPair[] columns)
129
public
CountTableTransformer
Fit(IDataView input)
438
loaderAssemblyName: typeof(
CountTableTransformer
).Assembly.FullName);
443
: base(Contracts.CheckRef(env, nameof(env)).Register(nameof(
CountTableTransformer
)), columns)
518
internal static
CountTableTransformer
Create(IHostEnvironment env, ModelLoadContext ctx)
599
private readonly
CountTableTransformer
_parent;
602
public Mapper(
CountTableTransformer
parent, DataViewSchema schema, bool addNoise = false)
737
[TlcModule.EntryPoint(Name = "Transforms.CountTableBuilder", Desc =
CountTableTransformer
.Summary, UserName =
CountTableTransformer
.UserName, ShortName = "Count")]
738
internal static CommonOutputs.TransformOutput Create(IHostEnvironment env,
CountTableTransformer
.Options input)
744
var view =
CountTableTransformer
.Create(h, input, input.Data);
Dracula\CountTargetEncodingTransformer.cs (13)
52
/// This is a merger of arguments for <see cref="
CountTableTransformer
"/> and <see cref="HashingTransformer"/>
224
CountTableTransformer
countTableTransformer;
225
if ((countTableTransformer = transformer as
CountTableTransformer
) == null)
234
countTableTransformer = transformerChain[i] as
CountTableTransformer
;
309
public readonly
CountTableTransformer
CountTable;
330
internal CountTargetEncodingTransformer(IHostEnvironment env/*, HashingEstimator.ColumnOptions[] hashingColumns*/, HashingTransformer hashingTransformer,
CountTableTransformer
countTable)
349
ctx.LoadModel<
CountTableTransformer
, SignatureLoadModel>(_host, out CountTable, "CountTable");
434
float priorCoefficient =
CountTableTransformer
.Defaults.PriorCoefficient,
435
float laplaceScale =
CountTableTransformer
.Defaults.LaplaceScale,
436
bool sharedTable =
CountTableTransformer
.Defaults.SharedTable,
504
float priorCoefficient =
CountTableTransformer
.Defaults.PriorCoefficient,
505
float laplaceScale =
CountTableTransformer
.Defaults.LaplaceScale,
541
[TlcModule.EntryPoint(Name = "Transforms.CountTargetEncoder", Desc = CountTargetEncodingTransformer.Summary, UserName =
CountTableTransformer
.UserName, ShortName = "Count")]