public RfmTrainingWorker( ITableStoreFactory tableStoreFactory, IServiceProvider provider, ILogger <RfmTrainingWorker> logger, AllowedModelsDictionary modelsDictionary, IReadOnlyDictionary <string, string> options, IServiceProvider serviceProvider) : this(tableStoreFactory, provider, logger, modelsDictionary, RfmTrainingWorkerOptionsDictionary.Parse(options), serviceProvider) { }
public RfmTrainingWorker( ITableStoreFactory tableStoreFactory, IServiceProvider provider, ILogger <RfmTrainingWorker> logger, AllowedModelsDictionary modelsDictionary, RfmTrainingWorkerOptionsDictionary options, IServiceProvider serviceProvider) { _tableStore = tableStoreFactory.Create(options.SchemaName); _options = options; _logger = logger; _model = modelsDictionary.CreateModel <Interaction>(provider, options.ModelType, options.ModelOptions); _serviceProvider = serviceProvider; }