5 instantiations of TweetSentiment
Microsoft.ML.IntegrationTests (5)
Debugging.cs (3)
43
new
TweetSentiment
{ Sentiment = true, SentimentText = "I love ML.NET." },
44
new
TweetSentiment
{ Sentiment = true, SentimentText = "I love TLC." },
45
new
TweetSentiment
{ Sentiment = false, SentimentText = "I dislike fika." }
Prediction.cs (2)
58
var pr = engine.Predict(new
TweetSentiment
() { SentimentText = "Good Bad job" });
71
pr = newEngine.Predict(new
TweetSentiment
() { SentimentText = "Good Bad job" });
18 references to TweetSentiment
Microsoft.ML.IntegrationTests (18)
DataTransformation.cs (1)
132
var data = mlContext.Data.LoadFromTextFile<
TweetSentiment
>(TestCommon.GetDataPath(DataDir, TestDatasets.Sentiment.trainFilename),
Debugging.cs (2)
40
var data = mlContext.Data.LoadFromEnumerable<
TweetSentiment
>(
41
new
TweetSentiment
[]
Evaluation.cs (3)
60
var data = mlContext.Data.LoadFromTextFile<
TweetSentiment
>(TestCommon.GetDataPath(DataDir, TestDatasets.Sentiment.trainFilename),
89
var data = mlContext.Data.LoadFromTextFile<
TweetSentiment
>(TestCommon.GetDataPath(DataDir, TestDatasets.Sentiment.trainFilename),
295
var data = mlContext.Data.LoadFromTextFile<
TweetSentiment
>(TestCommon.GetDataPath(DataDir, TestDatasets.Sentiment.trainFilename),
IntrospectiveTraining.cs (3)
75
var data = mlContext.Data.LoadFromTextFile<
TweetSentiment
>(TestCommon.GetDataPath(DataDir, TestDatasets.Sentiment.trainFilename),
178
var data = mlContext.Data.LoadFromTextFile<
TweetSentiment
>(TestCommon.GetDataPath(DataDir, TestDatasets.Sentiment.trainFilename),
219
var data = mlContext.Data.LoadFromTextFile<
TweetSentiment
>(TestCommon.GetDataPath(DataDir, TestDatasets.Sentiment.trainFilename),
Prediction.cs (3)
46
var data = mlContext.Data.LoadFromTextFile<
TweetSentiment
>(TestCommon.GetDataPath(DataDir, TestDatasets.Sentiment.trainFilename),
57
var engine = mlContext.Model.CreatePredictionEngine<
TweetSentiment
, Prediction>(model);
70
var newEngine = mlContext.Model.CreatePredictionEngine<
TweetSentiment
, Prediction>(newModel);
Training.cs (6)
32
var data = mlContext.Data.LoadFromTextFile<
TweetSentiment
>(TestCommon.GetDataPath(DataDir, TestDatasets.Sentiment.trainFilename),
86
var data = mlContext.Data.LoadFromTextFile<
TweetSentiment
>(TestCommon.GetDataPath(DataDir, TestDatasets.Sentiment.trainFilename),
130
var data = mlContext.Data.LoadFromTextFile<
TweetSentiment
>(TestCommon.GetDataPath(DataDir, TestDatasets.Sentiment.trainFilename),
174
var data = mlContext.Data.LoadFromTextFile<
TweetSentiment
>(TestCommon.GetDataPath(DataDir, TestDatasets.Sentiment.trainFilename),
218
var data = mlContext.Data.LoadFromTextFile<
TweetSentiment
>(TestCommon.GetDataPath(DataDir, TestDatasets.Sentiment.trainFilename),
400
var data = mlContext.Data.LoadFromTextFile<
TweetSentiment
>(TestCommon.GetDataPath(DataDir, TestDatasets.Sentiment.trainFilename),