Model definition API
Closed this issue · 2 comments
Peder2911 commented
Set up an API that, like Queryset definitions, makes it possible to define models through a simple API.
Peder2911 commented
The "model API" combines everything on offer in ViEWS code, letting users
- Fetch a queryset
- Train the model
- Store the model centrally for later reference
model = Model(
name="my_model",
queryset="my_queryset",
prediction_range=16, # (steps 1, 2 ... 16)
estimator = RandomForestClassifier(),
periodization = "my_periodization"
)
model.fetch()
model.predictions # fetches or produces and stores
Peder2911 commented
After discussing this on Slack, we're going with a simpler "toolkit" approach. This won't be implemented.