Exemple #1
0
 public SpellerController(ILogger <SpellerController> logger,
                          IMachineLearningService machineLearningService,
                          IConfiguration configuration)
 {
     this._logger = logger;
     this._machineLearningService = machineLearningService;
     this._configuration          = configuration;
 }
Exemple #2
0
 /// <summary>
 /// Constructor for controller instantiation
 /// </summary>
 /// <param name="logger">Logger</param>
 /// <param name="forecastingTasksService">Service for managing forecasting tasks</param>
 /// <param name="machineLearningService">Service for machine learning functionallity</param>
 /// <param name="importExportInFileService">Service for files functionallity</param>
 /// <param name="mapper">Mapper</param>
 public ForecastingTaskEntityController(ILogger <ForecastingTaskEntityController> logger,
                                        IForecastingTasksService forecastingTasksService,
                                        IMachineLearningService machineLearningService,
                                        IImportExportInFileService importExportInFileService,
                                        IMapper mapper)
 {
     _logger = logger;
     _forecastingTasksService   = forecastingTasksService;
     _machineLearningService    = machineLearningService;
     _importExportInFileService = importExportInFileService;
     _mapper = mapper;
 }
Exemple #3
0
 public AnalyzeTextController(IMachineLearningService service)
 {
     _service = service;
 }
Exemple #4
0
 /// <summary>
 /// Implement the dependency injection.
 /// </summary>
 public SpellingService(IMachineLearningService machineLearningService)
 {
     this._machineLearningService = machineLearningService;
     this._symSpellInstance       = new SymSpell(this.initialCapacity, this.maximumEditDistance, this.prefixLength);
 }
Exemple #5
0
 public PredictionController(IMachineLearningService machineLearningService,
                             ILogger <PredictionController> logger)
 {
     _machineLearningService = machineLearningService;
     _logger = logger;
 }
Exemple #6
0
 public MachineLearningController(IMachineLearningService machineLearningService)
 {
     this.machineLearningService = machineLearningService;
 }