An implementation of a linear regression machine learning algorithm implemented in Ruby. Features: - Supports simple problems with one independent variable to predict a dependent variable and multivariate problems with multiple independent variables to predict a dependent variable. - Supports training using the normal equation - Supports training using gradient descent - The library is implemented in pure ruby using Ruby's Matrix implementation. An example of how to use the library can be found in the blog post: [Implementing linear regressing using Ruby](http://www.practicalai.io/implementing-linear-regression-using-ruby/).
Required Ruby Version
>= 0
Authors
Soren Blond Daugaard
Versions
- 0.1.7 December 09, 2024 (6 KB)
- 0.1.6 December 09, 2024 (6 KB)
- 0.1.5 July 04, 2017 (6 KB)
- 0.1.4 June 16, 2017 (5.5 KB)
- 0.1.2 June 15, 2017 (5.5 KB)
- 0.1.1 June 15, 2017 (5.5 KB)