Example of mini-batch SGD (mini-batch stochastic gradient descent) in Go
$ go version
go version go1.7.4 darwin/amd64
$ go get github.com/gonum/blas
$ go get github.com/gonum/matrix
$ go get github.com/gonum/plot
If you want to use OpenBLAS, install it in any directory:
$ git clone https://github.com/xianyi/OpenBLAS
$ cd OpenBLAS
$ make