18 instantiations of TextData
Microsoft.ML.Tests (18)
Scenarios\WordBagTest.cs (18)
19
new
TextData
(){ Text = "This is an example to compute bag-of-word features." },
20
new
TextData
(){ Text = "ML.NET's ProduceWordBags API produces bag-of-word features from input text." },
21
new
TextData
(){ Text = "It does so by first tokenizing text/string into words/tokens then " },
22
new
TextData
(){ Text = "computing n-grams and their numeric values." },
23
new
TextData
(){ Text = "Each position in the output vector corresponds to a particular n-gram." },
24
new
TextData
(){ Text = "The value at each position corresponds to," },
25
new
TextData
(){ Text = "the number of times n-gram occurred in the data (Tf), or" },
26
new
TextData
(){ Text = "the inverse of the number of documents contain the n-gram (Idf)," },
27
new
TextData
(){ Text = "or compute both and multiply together (Tf-Idf)." },
56
new
TextData
(){ Text = "This is an example to compute bag-of-word features." },
57
new
TextData
(){ Text = "ML.NET's ProduceWordBags API produces bag-of-word features from input text." },
58
new
TextData
(){ Text = "It does so by first tokenizing text/string into words/tokens then " },
59
new
TextData
(){ Text = "computing n-grams and their numeric values." },
60
new
TextData
(){ Text = "Each position in the output vector corresponds to a particular n-gram." },
61
new
TextData
(){ Text = "The value at each position corresponds to," },
62
new
TextData
(){ Text = "the number of times n-gram occurred in the data (Tf), or" },
63
new
TextData
(){ Text = "the inverse of the number of documents contain the n-gram (Idf)," },
64
new
TextData
(){ Text = "or compute both and multiply together (Tf-Idf)." },
4 references to TextData
Microsoft.ML.Tests (4)
Scenarios\WordBagTest.cs (4)
17
var samples = new List<
TextData
>()
39
var predictionEngine = mlContext.Model.CreatePredictionEngine<
TextData
, TransformedTextData>(textTransformer);
54
var samples = new List<
TextData
>()
74
var predictionEngine = mlContext.Model.CreatePredictionEngine<
TextData
, TransformedTextData>(textTransformer);