Skip to content

Instantly share code, notes, and snippets.

@regel
Created December 18, 2018 22:30
Show Gist options
  • Save regel/c6ea32318e4a4eae3f663548d39068ad to your computer and use it in GitHub Desktop.
Save regel/c6ea32318e4a4eae3f663548d39068ad to your computer and use it in GitHub Desktop.
Demand forecast tutorial, model including weather predictors
{
"type": "timeseries",
"name": "orders-weather",
"default_datasource": "influx",
"max_evals": 50,
"bucket_interval": "1h",
"span": "auto",
"offset": 30,
"interval": "24h",
"seasonality": {
"daytime": true,
"weekday": true
},
"features": [
{
"measurement": "weather",
"field": "temp",
"metric": "avg",
"name": "temp",
"default": "previous",
"io": "i"
},
{
"measurement": "weather",
"field": "clouds",
"metric": "avg",
"name": "clouds",
"default": "previous",
"io": "i"
},
{
"measurement": "orders",
"field": "count",
"metric": "sum",
"name": "orders",
"io": "io"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment