Beispiel #1
0
 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)
 {
 }
Beispiel #2
0
 public RfmTrainingWorker(
     ITableStoreFactory tableStoreFactory,
     IServiceProvider provider,
     ILogger <RfmTrainingWorker> logger,
     AllowedModelsDictionary modelsDictionary,
     RfmTrainingWorkerOptionsDictionary options,
     IServiceProvider serviceProvider)
 {
     this._tableStore      = tableStoreFactory.Create(options.SchemaName);
     this._options         = options;
     this._logger          = logger;
     this._model           = modelsDictionary.CreateModel <Interaction>(provider, options.ModelType, options.ModelOptions);
     this._serviceProvider = serviceProvider;
 }