ukhsa-collaboration / pygom

ODE modelling in Python
GNU General Public License v2.0
27 stars 20 forks source link

ABC Parameter Estimation input data types #122

Open wardo5 opened 1 month ago

wardo5 commented 1 month ago

When running the ABC Parameter Estimation with PyGOM, it seems to only work with a numpy dataframe, and doesn't accept a pandas dataframe as input.

Converting pandas dataframe using .to_numpy() corrects this error, but it would be useful to have a note in the documentation to specify that numpy dataframes must be used, or even better if the approximate_bayesian_computation in PyGOM could handle pandas data.