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