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