Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shivam5992/linear-go

Simple linear regression in Go
https://github.com/shivam5992/linear-go

Last synced: 20 days ago
JSON representation

Simple linear regression in Go

Awesome Lists containing this project

README

        

# 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)
```