rmnldwg / lymph

Python package for statistical modelling of lymphatic metastatic spread in head & neck cancer.
https://lymph-model.readthedocs.io
MIT License
5 stars 4 forks source link

risk from precomputed state distribution #80

Closed rmnldwg closed 3 months ago

rmnldwg commented 3 months ago

It could be use- and helpful to implement a method that can compute risks and prevalences from a set of precomputed distributions over hidden states. This method should basically take in the same arguments as the models' risk() method, but instead of samples, it should expect arrays the like the ones produced by the state_dist() method.