Skip to content

General purpose linear and polynomial regression library for Swift.

License

Notifications You must be signed in to change notification settings

erkekin/EERegression

Repository files navigation

EERegression

General purpose multivariate linear and quadratic Regression library for Swift.

regression gif

Usage

// X is one or multi column matrix, Y is a vector (o column matrix)
//degree is polynomial order. (1 for linear regression)
let regression = Regression(X: X, Y: Y, degree: degree)

let prediction = regression.predict(x)

Test

EERegression.swift includes regression coefficients and prediction tests.

For any idea or contribution, please DT me. @erkekin

Thanks

Scott for swix.

About

General purpose linear and polynomial regression library for Swift.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published