Skip to content

Multilayer Perceptron Neural Network (MLP) Implementation using Dart Programming

License

Notifications You must be signed in to change notification settings

enesdemirag/neuraldart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Language Run on Repl.it

neuraldart

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.

Usage

I wrote the XOR Problem as an example. You can tweak it for your own dataset.

Result

============
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

About

Multilayer Perceptron Neural Network (MLP) Implementation using Dart Programming

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages