3 instantiations of NgramHashingTransformer
Microsoft.ML.Transforms (3)
Text\NgramHashingTransformer.cs (3)
360return new NgramHashingTransformer(env, input, cols).MakeDataTransform(input); 369return new NgramHashingTransformer(host, ctx, ctx.Header.ModelVerWritten < VersionTransformer); 1237public NgramHashingTransformer Fit(IDataView input) => new NgramHashingTransformer(_host, input, _columns);
27 references to NgramHashingTransformer
Microsoft.ML.Transforms (27)
Text\NgramHashingTransformer.cs (25)
18[assembly: LoadableClass(NgramHashingTransformer.Summary, typeof(IDataTransform), typeof(NgramHashingTransformer), typeof(NgramHashingTransformer.Options), typeof(SignatureDataTransform), 21[assembly: LoadableClass(NgramHashingTransformer.Summary, typeof(IDataTransform), typeof(NgramHashingTransformer), null, typeof(SignatureLoadDataTransform), 22"Ngram Hash Transform", NgramHashingTransformer.LoaderSignature)] 24[assembly: LoadableClass(NgramHashingTransformer.Summary, typeof(NgramHashingTransformer), null, typeof(SignatureLoadModel), 25"Ngram Hash Transform", NgramHashingTransformer.LoaderSignature)] 27[assembly: LoadableClass(typeof(IRowMapper), typeof(NgramHashingTransformer), null, typeof(SignatureLoadRowMapper), 28"Ngram Hash Transform", NgramHashingTransformer.LoaderSignature)] 166loaderAssemblyName: typeof(NgramHashingTransformer).Assembly.FullName); 181base(Contracts.CheckRef(env, nameof(env)).Register(nameof(NgramHashingTransformer))) 192base(Contracts.CheckRef(env, nameof(env)).Register(nameof(NgramHashingTransformer))) 278base(Contracts.CheckRef(env, nameof(env)).Register(nameof(NgramHashingTransformer))) 364private static NgramHashingTransformer Create(IHostEnvironment env, ModelLoadContext ctx) 367var host = env.Register(nameof(NgramHashingTransformer)); 376private readonly NgramHashingTransformer _parent; 382public Mapper(NgramHashingTransformer parent, DataViewSchema inputSchema, FinderDecorator decorator = null) : 634private readonly NgramHashingTransformer _parent; 646public InvertHashHelper(NgramHashingTransformer parent, DataViewSchema inputSchema, string[][] friendlyNames, IEnumerable<DataViewSchema.Column> columnsNeeded, int[] invertHashMaxCounts) 861/// <see cref="IEstimator{TTransformer}"/> for the <see cref="NgramHashingTransformer"/>. 885public sealed class NgramHashingEstimator : IEstimator<NgramHashingTransformer> 1235/// Trains and returns a <see cref="NgramHashingTransformer"/>. 1237public NgramHashingTransformer Fit(IDataView input) => new NgramHashingTransformer(_host, input, _columns);
Text\WordBagTransform.cs (1)
618/// (by using <see cref="HashingTransformer"/> or <see cref="NgramHashingTransformer"/>, for example).
Text\WordHashBagProducingTransform.cs (1)
254/// <see cref="NgramHashingTransformer.Options"/>, with the ordered option,