Loading video...

Video Failed to Load

Go Home

Implemented a visualization for the neural network today. This is a neural network being trained to learn the snake game in a terminal. It's built in Rust using Ratatui More input details in thread

165,655 views • 2 years ago •via X (Twitter)

10 Comments

Bones's profile picture
Bones2 years ago

The newer arch has 24 inputs, 16 (8x2 directional vision) +. 8 (4x2, 1-hot encoded head and tail dirs) S - solid, F - food, LF/L - left, RT/R - right, BT/B - bottom, TP/T - top, TL - top left, TR - top right, BR - bottom right, BL - bottom left, HE - head, TA - tail.

Bones's profile picture
Bones1 year ago

Source:

mitch 🏴‍☠️'s profile picture
mitch 🏴‍☠️2 years ago

@ratatui_rs Literally on my to do list this week was developing my first neural network in rust, you’re the bomb

Sarlloc ✭'s profile picture
Sarlloc ✭1 year ago

@ratatui_rs how about this visualization?

Bones's profile picture
Bones1 year ago

@ratatui_rs This is really cool

Arnie Ramesh's profile picture
Arnie Ramesh2 years ago

@ratatui_rs This is sick

SifoDyas's profile picture
SifoDyas2 years ago

@ratatui_rs NEAT?

Bones's profile picture
Bones2 years ago

@ratatui_rs Yes, but this doesn't evolve the network architecture, just the weights/biases

Quentin Munch's profile picture
Quentin Munch2 years ago

@ratatui_rs @BonesaiDev what Rust algebra / NN lib did you use in Rust ? Or is it from scratch ?

Bones's profile picture
Bones2 years ago

@ratatui_rs Yup, everything was built from scratch, this is mostly a rewrite of own project -

Related Videos