github.com/sarthakpranesh/nnGo

Neural Network Library written in Golang - has no Dependencies, Small, Fast, Experimental, examples on Twitter Hate Speech Classification, MNIST and XOR


Keywords
golang, golang-package, matrix, mnist, neural-network, xor
License
MIT
Install
go get github.com/sarthakpranesh/nnGo

Documentation

nnGo - Neural Network Library

Neural Network library with no dependencies, has it's own Matrix implementation and a 3 layered (input, hidden, output) Dense Network.


Pre - Requisites

Make sure you have GO Installed.


About library

The nnGo folder in this repo holds two files named, Matrix.go and NN.go. Matrix.go contains all required components that should be their to generate and perform operations on Matrices, where as the NN.go file contains code that utilizes the Matrix implementation to provide a 3 layered fully connected Dense Neural Network.


Testing The Library

  1. git clone https://github.com/sarthakpranesh/nnGo.git
  2. cd nnGo
  3. That's it hurray! You can checkout the examples subdirectory as a playground to test the library out!!!

Examples

  1. Twitter Hate Speech Classification
  2. MNIST
  3. XOR

Looking for help

Currently I only have Three example ( XOR , MNIST and Twitter hate speech classification ) implemented using this library and only two activation function supported. I would love if anyone of you can help me by implementing more examples or define different activation functions in this Toy library. Also looking for improving the existing code quality.