hhaamm / q-learning-in-c

Small example of Q-Learning built in the easier and less prone to error language in the world

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Q-Learning in C

Small sample of Q-Learning in C.

The (A)ctor must maximize the score, which means it should avoid the (T)raps, reach the (O)bjective and, if possible, pick (B)onus objects.

The Actor does not know anything about the map and cannot see anything, it doesn't use graphs. It just tries a lot of times, starting with zero knowledge, and improves his behavior through try and error.

Compile

Execute make in current directory.

Execute

`./reinforcement-learning

Why C?

C is probably not the best language to do reinforcement learning. This is only a hobbie project.

About

Small example of Q-Learning built in the easier and less prone to error language in the world


Languages

Language:C++ 99.3%Language:Makefile 0.7%