rch9 / Snake-Neural-Network

Supervised learning snake neural network

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Snake Neural Network

It's a neural network.

For snake.

Duh.

Why are you still reading this?

I suppose you want to learn how to use it?

Fine.

Full post here: https://jon.network/project/37/Snake-Neural-Network-Fusion-in-Python/

How to use it?

pip install names
git clone https://github.com/JonPizza/Snake-Neural-Network
cd Snake-Neural-Network
python snake_nn.py all

Then to train a new neural network:

python epic_nn.py

To only use the brains of MaryBoden and StevenHohlstein:

python snake_nn.py MaryBoden StevenHohlstein

To add new training sets to train on:

Remove closing ] from sets.py

python make_sets.py

Play snake using arrow keys for an hour...

Ctrl-C

Add closing ] to sets.py

About

Supervised learning snake neural network


Languages

Language:Python 100.0%