Crates.io | neural-network-rs |
lib.rs | neural-network-rs |
version | 0.1.4 |
source | src |
created_at | 2022-10-14 14:24:13.616982 |
updated_at | 2022-10-14 15:32:02.087605 |
description | A neural network library |
homepage | |
repository | https://github.com/ManuelLerchner/neural-network-rs |
max_upload_size | |
id | 688214 |
size | 1,976,161 |
A simple neural network written in rust.
This implementation of a neural network using gradient-descent is completely written from ground up using rust. It is possible to specify the shape of the network, as well as the learning-rate of the network. Additionally, you can choose from one of many predefined datasets, for example the XOR- and CIRCLE Datasets, which represent the relative functions inside the union-square. As well as more complicated datasets like the RGB_DONUT, which represents a donut-like shape with a rainbow like color transition.
Below, you can see a training process, where the network is trying to learn the color-values of the RGB_DONUT dataset.
The following features are currently implemented:
The process of creating and training the neural network is pretty straightforwards:
Below, you can see how the network learns: