Skip to content

ColCarroll/golearn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

golearn

Experiments in machine learning with Go Run

go run main.go

to see it in action. It will generate a 1000x5 matrix A using a uniform random distribution, a 5x1 matrix x using a random normal distribution, and a matrix y = Ax + e, where e is a 1000x1 error matrix (normally distributed with std. deviation = 0.1. The library then solves the equation Ax=y for x using the Moore-Penrose pseudoinverse.

It does ok! It is pretty quick!

golearn/num

Contains a matrix struct that knows how to do some linear algebra

golearn/linear

Implements linear regression.

About

Experiments in machine learning with Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages