3 instantiations of NgramHashingTransformer
Microsoft.ML.Transforms (3)
Text\NgramHashingTransformer.cs (3)
360
return new
NgramHashingTransformer
(env, input, cols).MakeDataTransform(input);
369
return new
NgramHashingTransformer
(host, ctx, ctx.Header.ModelVerWritten < VersionTransformer);
1237
public 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)]
166
loaderAssemblyName: typeof(
NgramHashingTransformer
).Assembly.FullName);
181
base(Contracts.CheckRef(env, nameof(env)).Register(nameof(
NgramHashingTransformer
)))
192
base(Contracts.CheckRef(env, nameof(env)).Register(nameof(
NgramHashingTransformer
)))
278
base(Contracts.CheckRef(env, nameof(env)).Register(nameof(
NgramHashingTransformer
)))
364
private static
NgramHashingTransformer
Create(IHostEnvironment env, ModelLoadContext ctx)
367
var host = env.Register(nameof(
NgramHashingTransformer
));
376
private readonly
NgramHashingTransformer
_parent;
382
public Mapper(
NgramHashingTransformer
parent, DataViewSchema inputSchema, FinderDecorator decorator = null) :
634
private readonly
NgramHashingTransformer
_parent;
646
public InvertHashHelper(
NgramHashingTransformer
parent, DataViewSchema inputSchema, string[][] friendlyNames, IEnumerable<DataViewSchema.Column> columnsNeeded, int[] invertHashMaxCounts)
861
/// <see cref="IEstimator{TTransformer}"/> for the <see cref="
NgramHashingTransformer
"/>.
885
public sealed class NgramHashingEstimator : IEstimator<
NgramHashingTransformer
>
1235
/// Trains and returns a <see cref="
NgramHashingTransformer
"/>.
1237
public
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,