infer-actively / pymdp

A Python implementation of active inference for Markov Decision Processes
MIT License
419 stars 83 forks source link

Fixing variational free energy calculation bug in `pymdp.maths`, to address #98 #102

Closed conorheins closed 1 year ago

conorheins commented 1 year ago

Fixes bug in calculation of accuracy term of variational free energy in maths.calc_free_energy, thanks to spotting by @lqiang2003cn, see #98