15 references to SentimentData
Microsoft.ML.Tests (15)
Scenarios\Api\Estimators\MultithreadedPrediction.cs (4)
28
var data = ml.Data.LoadFromTextFile<
SentimentData
>(GetDataPath(TestDatasets.Sentiment.trainFilename), hasHeader: true);
40
var engine = ml.Model.CreatePredictionEngine<
SentimentData
, SentimentPrediction>(model);
43
var testData = ml.Data.CreateEnumerable<
SentimentData
>(
44
ml.Data.LoadFromTextFile<
SentimentData
>(GetDataPath(TestDatasets.Sentiment.testFilename), hasHeader: true), false);
Scenarios\Api\Estimators\SimpleTrainAndPredict.cs (10)
26
var data = ml.Data.LoadFromTextFile<
SentimentData
>(GetDataPath(TestDatasets.Sentiment.trainFilename), hasHeader: true);
38
var engine = ml.Model.CreatePredictionEngine<
SentimentData
, SentimentPrediction>(model);
41
var testData = ml.Data.CreateEnumerable<
SentimentData
>(
42
ml.Data.LoadFromTextFile<
SentimentData
>(GetDataPath(TestDatasets.Sentiment.testFilename), hasHeader: true), false);
43
foreach (
var
input in testData.Take(5))
63
var data = ml.Data.LoadFromTextFile<
SentimentData
>(GetDataPath(TestDatasets.Sentiment.trainFilename), hasHeader: true);
77
var engine = ml.Model.CreatePredictionEngine<
SentimentData
, SentimentPrediction>(model);
80
var testData = ml.Data.CreateEnumerable<
SentimentData
>(
81
ml.Data.LoadFromTextFile<
SentimentData
>(GetDataPath(TestDatasets.Sentiment.testFilename), hasHeader: true), false);
82
foreach (
var
input in testData.Take(5))
Scenarios\Api\Estimators\TrainWithInitialPredictor.cs (1)
25
var data = ml.Data.LoadFromTextFile<
SentimentData
>(GetDataPath(TestDatasets.Sentiment.trainFilename), hasHeader: true);