5 instantiations of WordEmbeddingTransformer
Microsoft.ML.Transforms (5)
Text\WordEmbeddingsExtractor.cs (5)
242
return new
WordEmbeddingTransformer
(env, options.CustomLookupTable, cols).MakeDataTransform(input);
244
return new
WordEmbeddingTransformer
(env, options.ModelKind.Value, cols).MakeDataTransform(input);
274
return new
WordEmbeddingTransformer
(h, ctx);
955
transformer = new
WordEmbeddingTransformer
(_host, _customLookupTable, _columns);
957
transformer = new
WordEmbeddingTransformer
(_host, _modelKind.Value, _columns);
34 references to WordEmbeddingTransformer
Microsoft.ML.Core.Tests (2)
UnitTests\TestEntryPoints.cs (2)
4535
var embedding = Transforms.Text.TextAnalytics.WordEmbeddings(Env, new
WordEmbeddingTransformer
.Options()
4538
Columns = new[] { new
WordEmbeddingTransformer
.Column { Name = "Features", Source = "Text" } },
Microsoft.ML.Transforms (32)
EntryPoints\TextAnalytics.cs (5)
135
Desc =
WordEmbeddingTransformer
.Summary,
136
UserName =
WordEmbeddingTransformer
.UserName,
137
ShortName =
WordEmbeddingTransformer
.ShortName)]
138
public static CommonOutputs.TransformOutput WordEmbeddings(IHostEnvironment env,
WordEmbeddingTransformer
.Options input)
144
var view =
WordEmbeddingTransformer
.Create(h, input, input.Data);
Text\WordEmbeddingsExtractor.cs (27)
21
[assembly: LoadableClass(
WordEmbeddingTransformer
.Summary, typeof(IDataTransform), typeof(
WordEmbeddingTransformer
), typeof(
WordEmbeddingTransformer
.Options),
22
typeof(SignatureDataTransform),
WordEmbeddingTransformer
.UserName, "WordEmbeddingsTransform",
WordEmbeddingTransformer
.ShortName, DocName = "transform/WordEmbeddingsTransform.md")]
24
[assembly: LoadableClass(
WordEmbeddingTransformer
.Summary, typeof(IDataTransform), typeof(
WordEmbeddingTransformer
), null, typeof(SignatureLoadDataTransform),
25
WordEmbeddingTransformer
.UserName,
WordEmbeddingTransformer
.LoaderSignature)]
27
[assembly: LoadableClass(typeof(
WordEmbeddingTransformer
), null, typeof(SignatureLoadModel),
28
WordEmbeddingTransformer
.UserName,
WordEmbeddingTransformer
.LoaderSignature)]
30
[assembly: LoadableClass(typeof(IRowMapper), typeof(
WordEmbeddingTransformer
), null, typeof(SignatureLoadRowMapper),
31
WordEmbeddingTransformer
.UserName,
WordEmbeddingTransformer
.LoaderSignature)]
86
loaderAssemblyName: typeof(
WordEmbeddingTransformer
).Assembly.FullName);
154
/// Instantiates <see cref="
WordEmbeddingTransformer
"/> using the pretrained word embedding model specified by <paramref name="modelKind"/>.
167
/// Instantiates <see cref="
WordEmbeddingTransformer
"/> using the custom word embedding model by loading it from the file specified by the <paramref name="customModelFile"/>.
179
/// Instantiates <see cref="
WordEmbeddingTransformer
"/> using the pretrained word embedding model specified by <paramref name="modelKind"/>.
195
/// Instantiates <see cref="
WordEmbeddingTransformer
"/> using the custom word embedding model by loading it from the file specified by the <paramref name="customModelFile"/>.
268
internal static
WordEmbeddingTransformer
Create(IHostEnvironment env, ModelLoadContext ctx)
310
private readonly
WordEmbeddingTransformer
_parent;
313
public Mapper(
WordEmbeddingTransformer
parent, DataViewSchema inputSchema)
763
public sealed class WordEmbeddingEstimator : IEstimator<
WordEmbeddingTransformer
>
948
/// Trains and returns a <see cref="
WordEmbeddingTransformer
"/>.
950
public
WordEmbeddingTransformer
Fit(IDataView input)
953
WordEmbeddingTransformer
transformer;