6 references to SentimentPrediction
Microsoft.ML.PerformanceTests (6)
PredictionEngineBench.cs (2)
20private PredictionEngine<SentimentData, SentimentPrediction> _sentimentModel; 99_sentimentModel = mlContext.Model.CreatePredictionEngine<SentimentData, SentimentPrediction>(model);
TextPredictionEngineCreation.cs (4)
47public PredictionEngine<SentimentData, SentimentPrediction> CreatePredictionEngine() 49return _context.Model.CreatePredictionEngine<SentimentData, SentimentPrediction>(_trainedModel); 53public PredictionEngine<SentimentData, SentimentPrediction> CreatePredictionEngineFromOldFormat() 55return _context.Model.CreatePredictionEngine<SentimentData, SentimentPrediction>(_trainedModelOldFormat);