A Dart library for Neural Networks
I created this repo as an exercise while learning Dart Programming. Writing this library was very fun. There are also other (maybe even better) implementations like ai and Dartnet.
This project is licensed under the MIT License - see the LICENSE file for details. If you found mistake or have any advice, feel free to open an issue.
Thanks to @yacineMahdid for backpropagation algorithm.
I wrote the XOR Problem as an example. You can tweak it for your own dataset.
============
Output before training
============
inputs: 0.0, 0.0
output: 0.46662168559996103
inputs: 0.0, 1.0
output: 0.48409641563876016
inputs: 1.0, 0.0
output: 0.43438123457124833
inputs: 1.0, 1.0
output: 0.4505847499026291
============
Output after training
============
inputs: 0.0, 0.0
output: 0.02568676661260416
inputs: 0.0, 1.0
output: 0.9758767143939321
inputs: 1.0, 0.0
output: 0.9794699040922308
inputs: 1.0, 1.0
output: 0.02227548086695073