Go machine learning libraries

46 libraries, 10 updated this year

Go has a small but practical machine learning stack. gonum supplies matrices, statistics, optimization and plotting; golearn offers scikit-learn-style models; gorgonia builds computation graphs for neural networks; and GoCV binds OpenCV for computer vision. gota provides data frames.

Go is more often used to serve models than to train them, and a number of entries here have not been updated in years. The active projects are worth a look when you want machine learning inside a single Go binary without a Python dependency.

46 libraries

stable-baselines3DLR-RM/stable-baselines3

PyTorch implementations of Stable Baselines (deep) reinforcement learning algorithms.

RL
13.9k updated 11d ago

golearnsjwhitworth/golearn

Machine learning for Go.

General
9.4k updated 2y ago

gonum/matgonum/gonum

A linear algebra package for Go.

Data & viz
8.4k updated 16d ago

GoCVhybridgroup/gocv

Package for computer vision using OpenCV 4 and beyond.

Vision
7.5k updated 4mo ago

gorgoniagorgonia/gorgonia

Deep learning in Go.

GeneralDeep learning
5.9k updated 2y ago

gotago-gota/gota Archived

Dataframes.

Data & viz
3.3k archived

gonum/plotgonum/plot

A plotting library.

Data & viz
3k updated 6mo ago

SVGoajstarks/svgo

The Go Language library for SVG generation.

Data & viz
2.3k updated 3y ago

Spagonlpodyssey/spago

Self-contained Machine Learning and Natural Language Processing library in Go.

GeneralDeep learningNLP
1.9k updated 1y ago

gogeogolang/geo

Spherical geometry in Go.

Math
1.9k updated 1d ago

gomlcdipaolo/goml

Machine learning library written in pure Go.

General
1.6k updated 4y ago

globemmcloughlin/globe

Globe wireframe visualization.

Data & viz
1.6k updated 2y ago

dataframe-gorocketlaunchr/dataframe-go

Dataframes for machine-learning and statistics (similar to pandas).

Data & viz
1.3k updated 4y ago

go-geomtwpayne/go-geom

Go library to handle geometries.

Math
986 updated 5d ago

eaoptMaxHalford/eaopt

An evolutionary optimization library.

General
907 updated 1y ago

bayesianjbrukh/bayesian Deprecated

Naive Bayesian Classification for Golang.

General
816 updated 10mo ago

Cloudforestryanbressler/CloudForest Deprecated

Ensembles of decision trees in Go/Golang.

General
748 updated 4y ago

gobraingoml/gobrain

Neural Networks written in Go.

GeneralDeep learning
569 updated 5y ago

word-embeddingynqa/word-embedding

Word Embeddings: the full implementation of word2vec, GloVe in Go.

NLP
508 updated 3y ago

leavesdmitryikh/leaves

A pure Go implementation of the prediction part of GBRTs, including XGBoost and LightGBM.

General
486 updated 2y ago

sentencesneurosnap/sentences

Golang implementation of Punkt sentence tokenizer.

NLP
473 updated 19d ago

glotarafatk/glot

Glot is a plotting library for Golang built on top of gnuplot.

Data & viz
406 updated 1y ago

goroaunum/goro

A high-level machine learning library in the vein of Keras.

General
373 updated 2y ago

GoNNfxsjy/gonn Deprecated

GoNN is an implementation of Neural Network in Go Language, which includes BPNN, RBF, PCN.

GeneralDeep learning
360 updated 10y ago

goldaunum/gold

A reinforcement learning library.

RL
352 updated 6y ago

Cybertronnlpodyssey/cybertron

Cybertron: the home planet of the Transformers in Go.

Deep learningNLP
331 updated 2y ago

go-galibthoj/go-galib Deprecated

Genetic Algorithms library written in Go / Golang.

General
202 updated 10y ago

go-mlalonsovidales/go_ml Deprecated

Linear / Logistic regression, Neural Networks, Collaborative Filtering and Gaussian Multivariate Distribution.

GeneralDeep learning
199 updated 9y ago

go-porterstemmerreiver/go-porterstemmer Deprecated

A native Go clean room implementation of the Porter Stemming algorithm.

NLP
194 updated 5y ago

go-featureprocessingnikolaydubina/go-featureprocessing Archived

Fast and convenient feature processing for low latency machine learning in Go.

General
125 archived

RFfxsjy/RF.go Deprecated

Random forests implementation in Go.

Data & viz
115 updated 12y ago

go-ngramLazin/go-ngram Deprecated

In-memory n-gram index with compression.

NLP
114 updated 10y ago

go-graphStepLg/go-graph Archived

Graph library for Go/Golang language.

Data & viz
95 archived

neatjinyeom/neat Archived

Plug-and-play, parallel Go framework for NeuroEvolution of Augmenting Topologies (NEAT).

GeneralDeep learningRL
73 archived

go-prdaviddengcn/go-pr Deprecated

Pattern recognition package in Go lang.

General
68 updated 13y ago

go-mxnet-predictorsongtianyi/go-mxnet-predictor

Go binding for MXNet c_predict_api to do inference with a pre-trained model.

GeneralDeep learning
54 updated 8y ago

snowballtebeka/snowball

Snowball Stemmer for Go.

NLP
48 updated 1y ago

birdlandrlouf/birdland

A recommendation library in Go.

General
46 updated 7y ago

go-ml-benchmarksnikolaydubina/go-ml-benchmarks Archived

Benchmarks of machine learning inference for Go.

General
34 archived

annealgeorgebuilds/anneal

From-scratch Go port of tinygrad: a graph-rewrite ML compiler with reverse-mode autodiff and a WebGPU backend.

GeneralDeep learning
33 updated 4mo ago

paicehuskRookii/paicehusk Deprecated

Golang implementation of the Paice/Husk Stemming Algorithm.

NLP
29 updated 12y ago

therfootherfoo/therfoo Archived

An embedded deep learning library for Go.

GeneralDeep learning
18 archived

VoxRTVoxRT/voxrt-asr-linux

On-device streaming speech recognition runtime with C API for Linux (aarch64/x86_64). Based on NVIDIA NeMo FastConformer (80 ms cache-aware lookahead). Companion Silero VAD, wake-word, and 14-command KWS via same runtime.

Speech
9 updated 1mo ago

go-dnnsudachen/go-dnn Archived

Deep Neural Networks for Golang (powered by MXNet)

GeneralDeep learning
8 archived

go-ml-transpilerznly/go-ml-transpiler

An open source Go transpiler for machine learning models.

General
No GitHub repo

gorsezhenghaoz/gorse

An offline recommender system backend based on collaborative filtering written in Go.

General
No GitHub repo
Esc

Type to search every entry. ↑↓ to move, Enter to open.