1 instantiation of SentimentData
Microsoft.ML.PerformanceTests (1)
PredictionEngineBench.cs (1)
70
_sentimentExample = new
SentimentData
()
8 references to SentimentData
Microsoft.ML.PerformanceTests (8)
PredictionEngineBench.cs (3)
19
private
SentimentData
_sentimentExample;
20
private PredictionEngine<
SentimentData
, SentimentPrediction> _sentimentModel;
99
_sentimentModel = mlContext.Model.CreatePredictionEngine<
SentimentData
, SentimentPrediction>(model);
TextPredictionEngineCreation.cs (5)
24
var data = _context.Data.LoadFromTextFile<
SentimentData
>(
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);