fcnn

command module
v0.0.0-...-bed4406 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2020 License: MIT Imports: 12 Imported by: 0

README

fcnn

GoDoc Build Status License

fcnn is a scalable fully connected neural network completely written from scratch using the Go Standard Library and an third party library to display the progress bar. fcnn takes advantage of Go's concurrency patterns to parallelize matrix multiplication and all operations a neural network can perform non sequentially. fcnn was also developed following some TDD principles. The GIF shows the binary training a config file with the MNIST dataset, but any other model can be trained as well, by defining a different dataset reader that satisfies the Reader interface.

Usage

Install the binary:

go get github.com/jmpargana/fcnn

You can enhance it with your own dataset readers, they just need to implement two functions DataFrom(images, labels string) ([]Instance, error) and PredictDataFrom(filename string) (matrix.Matrix, error) as described in the readers/reader_type.go file.

License

License

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
mnist
MNIST database reader http://yann.lecun.com/exdb/mnist/ https://gist.githubusercontent.com/higuma/dbcd006546eb844c01e5102b4d0bcc93/raw/e3f3b72a0d3a212bfa0b65feb52d7a73bcf72913/mnist.go
MNIST database reader http://yann.lecun.com/exdb/mnist/ https://gist.githubusercontent.com/higuma/dbcd006546eb844c01e5102b4d0bcc93/raw/e3f3b72a0d3a212bfa0b65feb52d7a73bcf72913/mnist.go

Jump to

Keyboard shortcuts

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