rmnldwg / lymph

Python package for statistical modelling of lymphatic metastatic spread in head & neck cancer.

Home Page:https://lymph-model.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vectorize likelihood

rmnldwg opened this issue · comments

For performance reasons it would be great if the likelihood function (as well as the risk & set_theta functions) could take a list of parameter vectors and consequently return a list of likelihoods (or risks respectively).

This is not quite possible (at least I don't see a way) in a way that would actually fully vectorize the likelihood. Closing this.