public ProductTimeSeriesForecastController(IOptionsSnapshot <AppSettings> appSettings, IOrderingQueries queries) { //Note: The ProductRegressionForecastController uses the PredictionEnginePool for loading and caching the model. //Notice that for Time Series, we do NOT use the PredictionEnginePool. Instead, Time Series model is stateful because //you must regularly update the state of the model with new observed data points and as a result, should never be cached. //Refer to the sample's ReadMe for further details on this. this.appSettings = appSettings.Value; this._queries = queries; }
public OrderingController(IOrderingQueries queries) { _queries = queries; }
public ProductTimeSeriesForecastController(IOptionsSnapshot <AppSettings> appSettings, IOrderingQueries queries) { this.appSettings = appSettings.Value; this._queries = queries; }
public CatalogController(ICatalogQueries queries, IOrderingQueries orderingQueries) { _catalogQueries = queries; _orderingQueries = orderingQueries; }