/goml

Experimental ML implementations in Go

Primary LanguageGoMIT LicenseMIT

ML in Go

GoDoc reference example CircleCI codecov Maintainability Test Coverage

This repository contains various ML experiments written in Go. It endeavors to use just the standard library, with a handful of exceptions around testing, to keep things simpler and all in one place.

The goal of this project is to facilitate understanding of various ML techniques, and is not intended for any sort of production-like usage.

Packages

  • neural: Implementations of neural networks.
  • lin: Data structures and functions for linear algebra.
  • mnist: Parsed form of the MNIST handwriting dataset.
  • idx: Parser for the idx data format used by mnist.

Running tests

You can run this repository's tests with the following commands:

# Download assets used in testing.
make
# Run the tests.
go test ./...