Closed Kevin-Chen0 closed 7 months ago
model_request.yaml below:
type: meta_lr
scorers: [smape, mape]
params:
preprocessors:
type: dartsimputer
params:
strategy: mean
type: minmaxscaler
base_models:
type: darts_naive
type: darts_seasonalnaive
type: darts_autotheta
type: darts_autoets
type: darts_autoarima
type: darts_tbats
type: darts_linearregression
Resolved.
For example, instead of this JSON request:
The example notebooks can load the following attached model_request.json or model_request.yaml. The notebooks when convert this files into the JSON string model_request, which will be passed into the api_json, alongside the uploaded train dataset: