Skip to content
/ ai Public

My struggle to understand Karl Friston on Active Inference

License

Notifications You must be signed in to change notification settings

weka511/ai

Repository files navigation

Active Inference

Code written to understand Karl Friston on Active Inference

Programs based on Life as we Know it

File Description
ActiveInference.bib Bibliography
ActiveInference.tex Derivations of equations
selforg.py Replication of Figure 2, Self Organization and the emergence of macroscopic behaviour, from Friston & Ao, Free Energy, Value, and Attractor
huygens.py Test for Huyghens oscillator in selforg.py
File Description
example2.py Example 2
exercise2.py Exercise 2
figure2.py Figure 2
message_passing.py Ported from Message_passing_example.m
pomdp.py POMDP example and library for solvers
pomdp_driver.py POMDP example
File Remarks
feex1.py Exercise 1--posterior probabilities
feex2.py Exercise 2--most likely size
feex3.py Exercise 3--neural implementation
feex5.py Exercise 5--learn variance

ODE solvers

File Remarks
euler.py Euler's method
rk4.py Workhorse Runge-Kutta 4th order
sde.py Euler-Maruyama method

Miscellaneous

File Remarks
ActiveInference.wpr Project for Python Code
template.py Template for creating additional programs

About

My struggle to understand Karl Friston on Active Inference

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published