RubyGems Navigation menu

ruby_linear_regression 0.1.1

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/).

Gemfile:
=

install:
=

Versions:

  1. 0.1.7 December 09, 2024 (6 KB)
  2. 0.1.6 December 09, 2024 (6 KB)
  3. 0.1.5 July 04, 2017 (6 KB)
  4. 0.1.4 June 16, 2017 (5.5 KB)
  5. 0.1.2 June 15, 2017 (5.5 KB)
  6. 0.1.1 June 15, 2017 (5.5 KB)
Show all versions (9 total)

Development Dependencies (1):

minitest >= 5.10.2, ~> 5.10

Owners:

Authors:

  • Soren Blond Daugaard

SHA 256 checksum:

=

Total downloads 230,817

For this version 1,706

Version Released:

License:

MIT

Required Ruby Version: >= 0

Links: