PredictionEnginePool<TData,TPrediction> Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public PredictionEnginePool (IServiceProvider serviceProvider, Microsoft.Extensions.Options.IOptions<Microsoft.Extensions.ML.MLOptions> mlContextOptions, Microsoft.Extensions.Options.IOptionsFactory<Microsoft.Extensions.ML.PredictionEnginePoolOptions<TData,TPrediction>> predictionEngineOptions);
new Microsoft.Extensions.ML.PredictionEnginePool<'Data, 'Prediction (requires 'Data : null and 'Prediction : null and 'Prediction : (new : unit -> 'Prediction))> : IServiceProvider * Microsoft.Extensions.Options.IOptions<Microsoft.Extensions.ML.MLOptions> * Microsoft.Extensions.Options.IOptionsFactory<Microsoft.Extensions.ML.PredictionEnginePoolOptions<'Data, 'Prediction>> -> Microsoft.Extensions.ML.PredictionEnginePool<'Data, 'Prediction (requires 'Data : null and 'Prediction : null and 'Prediction : (new : unit -> 'Prediction))>
Public Sub New (serviceProvider As IServiceProvider, mlContextOptions As IOptions(Of MLOptions), predictionEngineOptions As IOptionsFactory(Of PredictionEnginePoolOptions(Of TData, TPrediction)))
Parameters
- serviceProvider
- IServiceProvider
- predictionEngineOptions
- IOptionsFactory<PredictionEnginePoolOptions<TData,TPrediction>>