Exemplo n.º 1
0
        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;
        }
Exemplo n.º 2
0
 public OrderingController(IOrderingQueries queries)
 {
     _queries = queries;
 }
Exemplo n.º 3
0
 public ProductTimeSeriesForecastController(IOptionsSnapshot <AppSettings> appSettings, IOrderingQueries queries)
 {
     this.appSettings = appSettings.Value;
     this._queries    = queries;
 }
 public CatalogController(ICatalogQueries queries, IOrderingQueries orderingQueries)
 {
     _catalogQueries  = queries;
     _orderingQueries = orderingQueries;
 }