infer-actively / pymdp

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

Model pruning functions (pruning of A/B/C/D arrays) #50

Closed conorheins closed 2 years ago

conorheins commented 2 years ago

This latest PR contains commits related to Bayesian model reduction. Once you've used a function like dirichlet_log_evidence (from the pymdp.maths module) to compare the free energies of a suite of models, you can use these reduction functions to selectively prune the observation and/or hidden state levels that receive low evidence/probability according to the model selected with BMR.