SeitaBV / timely-beliefs

Model data as beliefs (at a certain time) about events (at a certain time).
MIT License
34 stars 6 forks source link

Form new beliefs given some model #50

Closed Flix6x closed 2 years ago

Flix6x commented 3 years ago

This introduces a new BeliefsDataFrame method form_beliefs that creates new beliefs given a model, a belief_time and an event_time_window.

Much credit goes to the AI Master students from the University of Amsterdam that also helped us implement ridgeline plots for probabilistic forecasts.

Flix6x commented 2 years ago

Test setup is failing for Python 3.7, with RuntimeError: Scikit-learn requires Python 3.8 or later. The current Python version is 3.7.13. My proposal would be to make sktime (which is requiring scikit-learn) a soft dependency, installable with pip install timely-beliefs[forecast] (after merging #107), and exclude tests relating to forming new beliefs for python==3.7.