General purpose multivariate linear and quadratic Regression library for Swift.
// 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)
EERegression.swift includes regression coefficients and prediction tests.
For any idea or contribution, please DT me. @erkekin
Scott for swix.