Simulating and Optimising Dynamical Models in Python 3
9
stars
2
forks
source link
Error performing `df.values` in `__call__()` method of class `log_posterior_probability()` when optimising a model with a timeseries of length 1 #63
Open
twallema opened 1 year ago
I accidently tried optimising a model to a timeseries with only one datapoint,
Which resulted in an error on the following line in
__call__()
of classlog_posterior_probability()
,Specifically, the
.values
method ofdf.squeeze()
does not work and results in the following error,It's a specific situation but I may need to address this at some point.