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

Speedup & Tests #27

Closed rmnldwg closed 2 years ago

rmnldwg commented 2 years ago

Speedup

Now the data is not represented in the somewhat elegant C matrix anymore, since that required huge B and C matrices when more than two diagnostic modalities were used. Instead, I now compute a rather small diagnostic matrix from the data that makes both the B and the C matrix obsolete.

Testing

I started using hypothesis for testing now and rewrote the largest part of the tests using this library. This means that testing is more robust and since I covered the largest part of the code now, coverage also increased greatly.