nhsx / skunkworks-bed-allocation

NHS AI Lab Skunkworks project: Bed Allocation
MIT License
19 stars 6 forks source link

Forecast integration into UI missing #6

Closed amadeuspzs closed 2 years ago

amadeuspzs commented 2 years ago

Currently, the UI implements a dummy forecast:

https://github.com/nhsx/pre-publication-skunkworks-bed-allocation/blob/bbb7db0901c40edf69f1a1921f850806055348ad/app/app/api.py#L303

As a user, I need to understand how the UI integrates with the real-time forecast. I need to know how data feeds into the training process for the time series forecast, and how the model produced should be fed into the app to visualise the results

How would the API call https://github.com/nhsx/pre-publication-skunkworks-bed-allocation/blob/bbb7db0901c40edf69f1a1921f850806055348ad/src/forecasting/forecast.py#L232 or the appropriate function?