neural-net-go

command module
v0.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 8, 2021 License: MIT Imports: 13 Imported by: 0

README

Neural Net Go

Simple neural network implementation in Go.

Build

go build

Help

./neural-net-go -help to display all available flags.

Run the Iris sample

Dataset included.

./neural-net-go -model=models/iris.1.model -preset=iris -action=train
./neural-net-go -model=models/iris.1.model -preset=iris -action=test

Run the MNIST sample

Download the MNIST training and test data from https://pjreddie.com/projects/mnist-in-csv/ and place in the datasets directory.

./neural-net-go -model=models/mnist.1.model preset=mnist -action=train 
./neural-net-go -model=models/mnist.1.model preset=mnist -action=test 

After training, the model is saved to a JSON file. You can load the same model to train additional epochs or test its accuracy.

References

Thanks to:

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL