Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 280 Bytes

readme.MD

File metadata and controls

17 lines (11 loc) · 280 Bytes

Simple Linear Regression - Go

Simple Linear Regression implementation using Gradient Descent in Go

Install

go get github.com/shivam5992/linear-go

Usage

x := []float64{1,2,3}
y := []float64{1,3,3}
test := []float64{5,6}
pred := linear_regression(x, y, test)