63 references to Sentiment
Microsoft.ML.IntegrationTests (51)
DataTransformation.cs (3)
132var data = mlContext.Data.LoadFromTextFile<TweetSentiment>(TestCommon.GetDataPath(DataDir, TestDatasets.Sentiment.trainFilename), 133hasHeader: TestDatasets.Sentiment.fileHasHeader, 134separatorChar: TestDatasets.Sentiment.fileSeparator);
Evaluation.cs (9)
60var data = mlContext.Data.LoadFromTextFile<TweetSentiment>(TestCommon.GetDataPath(DataDir, TestDatasets.Sentiment.trainFilename), 61hasHeader: TestDatasets.Sentiment.fileHasHeader, 62separatorChar: TestDatasets.Sentiment.fileSeparator); 89var data = mlContext.Data.LoadFromTextFile<TweetSentiment>(TestCommon.GetDataPath(DataDir, TestDatasets.Sentiment.trainFilename), 90hasHeader: TestDatasets.Sentiment.fileHasHeader, 91separatorChar: TestDatasets.Sentiment.fileSeparator); 295var data = mlContext.Data.LoadFromTextFile<TweetSentiment>(TestCommon.GetDataPath(DataDir, TestDatasets.Sentiment.trainFilename), 296hasHeader: TestDatasets.Sentiment.fileHasHeader, 297separatorChar: TestDatasets.Sentiment.fileSeparator);
IntrospectiveTraining.cs (12)
75var data = mlContext.Data.LoadFromTextFile<TweetSentiment>(TestCommon.GetDataPath(DataDir, TestDatasets.Sentiment.trainFilename), 76hasHeader: TestDatasets.Sentiment.fileHasHeader, 77separatorChar: TestDatasets.Sentiment.fileSeparator, 78allowQuoting: TestDatasets.Sentiment.allowQuoting); 178var data = mlContext.Data.LoadFromTextFile<TweetSentiment>(TestCommon.GetDataPath(DataDir, TestDatasets.Sentiment.trainFilename), 179hasHeader: TestDatasets.Sentiment.fileHasHeader, 180separatorChar: TestDatasets.Sentiment.fileSeparator, 181allowQuoting: TestDatasets.Sentiment.allowQuoting); 219var data = mlContext.Data.LoadFromTextFile<TweetSentiment>(TestCommon.GetDataPath(DataDir, TestDatasets.Sentiment.trainFilename), 220hasHeader: TestDatasets.Sentiment.fileHasHeader, 221separatorChar: TestDatasets.Sentiment.fileSeparator, 222allowQuoting: TestDatasets.Sentiment.allowQuoting);
Prediction.cs (3)
42HasHeader = TestDatasets.Sentiment.fileHasHeader, 43Separators = new[] { TestDatasets.Sentiment.fileSeparator } 46var data = mlContext.Data.LoadFromTextFile<TweetSentiment>(TestCommon.GetDataPath(DataDir, TestDatasets.Sentiment.trainFilename),
Training.cs (24)
32var data = mlContext.Data.LoadFromTextFile<TweetSentiment>(TestCommon.GetDataPath(DataDir, TestDatasets.Sentiment.trainFilename), 33separatorChar: TestDatasets.Sentiment.fileSeparator, 34hasHeader: TestDatasets.Sentiment.fileHasHeader, 35allowQuoting: TestDatasets.Sentiment.allowQuoting); 86var data = mlContext.Data.LoadFromTextFile<TweetSentiment>(TestCommon.GetDataPath(DataDir, TestDatasets.Sentiment.trainFilename), 87separatorChar: TestDatasets.Sentiment.fileSeparator, 88hasHeader: TestDatasets.Sentiment.fileHasHeader, 89allowQuoting: TestDatasets.Sentiment.allowQuoting); 130var data = mlContext.Data.LoadFromTextFile<TweetSentiment>(TestCommon.GetDataPath(DataDir, TestDatasets.Sentiment.trainFilename), 131separatorChar: TestDatasets.Sentiment.fileSeparator, 132hasHeader: TestDatasets.Sentiment.fileHasHeader, 133allowQuoting: TestDatasets.Sentiment.allowQuoting); 174var data = mlContext.Data.LoadFromTextFile<TweetSentiment>(TestCommon.GetDataPath(DataDir, TestDatasets.Sentiment.trainFilename), 175separatorChar: TestDatasets.Sentiment.fileSeparator, 176hasHeader: TestDatasets.Sentiment.fileHasHeader, 177allowQuoting: TestDatasets.Sentiment.allowQuoting); 218var data = mlContext.Data.LoadFromTextFile<TweetSentiment>(TestCommon.GetDataPath(DataDir, TestDatasets.Sentiment.trainFilename), 219separatorChar: TestDatasets.Sentiment.fileSeparator, 220hasHeader: TestDatasets.Sentiment.fileHasHeader, 221allowQuoting: TestDatasets.Sentiment.allowQuoting); 400var data = mlContext.Data.LoadFromTextFile<TweetSentiment>(TestCommon.GetDataPath(DataDir, TestDatasets.Sentiment.trainFilename), 401separatorChar: TestDatasets.Sentiment.fileSeparator, 402hasHeader: TestDatasets.Sentiment.fileHasHeader, 403allowQuoting: TestDatasets.Sentiment.allowQuoting);
Microsoft.ML.Tests (12)
Scenarios\Api\Estimators\MultithreadedPrediction.cs (2)
28var data = ml.Data.LoadFromTextFile<SentimentData>(GetDataPath(TestDatasets.Sentiment.trainFilename), hasHeader: true); 44ml.Data.LoadFromTextFile<SentimentData>(GetDataPath(TestDatasets.Sentiment.testFilename), hasHeader: true), false);
Scenarios\Api\Estimators\SimpleTrainAndPredict.cs (4)
26var data = ml.Data.LoadFromTextFile<SentimentData>(GetDataPath(TestDatasets.Sentiment.trainFilename), hasHeader: true); 42ml.Data.LoadFromTextFile<SentimentData>(GetDataPath(TestDatasets.Sentiment.testFilename), hasHeader: true), false); 63var data = ml.Data.LoadFromTextFile<SentimentData>(GetDataPath(TestDatasets.Sentiment.trainFilename), hasHeader: true); 81ml.Data.LoadFromTextFile<SentimentData>(GetDataPath(TestDatasets.Sentiment.testFilename), hasHeader: true), false);
Scenarios\Api\Estimators\TrainWithInitialPredictor.cs (1)
25var data = ml.Data.LoadFromTextFile<SentimentData>(GetDataPath(TestDatasets.Sentiment.trainFilename), hasHeader: true);
TrainerEstimators\TrainerEstimators.cs (1)
203}).Load(GetDataPath(TestDatasets.Sentiment.trainFilename));
Transformers\TextFeaturizerTests.cs (2)
762ML.Data.LoadFromTextFile(GetDataPath(TestDatasets.Sentiment.testFilename), 763TestDatasets.Sentiment.GetLoaderColumns(), hasHeader: true), false);
Transformers\WordEmbeddingsTests.cs (2)
28var dataPath = GetDataPath(TestDatasets.Sentiment.trainFilename); 63var dataPath = GetDataPath(TestDatasets.Sentiment.trainFilename);