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