public SpellerController(ILogger <SpellerController> logger, IMachineLearningService machineLearningService, IConfiguration configuration) { this._logger = logger; this._machineLearningService = machineLearningService; this._configuration = configuration; }
/// <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; }
public AnalyzeTextController(IMachineLearningService service) { _service = service; }
/// <summary> /// Implement the dependency injection. /// </summary> public SpellingService(IMachineLearningService machineLearningService) { this._machineLearningService = machineLearningService; this._symSpellInstance = new SymSpell(this.initialCapacity, this.maximumEditDistance, this.prefixLength); }
public PredictionController(IMachineLearningService machineLearningService, ILogger <PredictionController> logger) { _machineLearningService = machineLearningService; _logger = logger; }
public MachineLearningController(IMachineLearningService machineLearningService) { this.machineLearningService = machineLearningService; }