ruby_linear_regression 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. checksums.yaml +4 -4
  2. metadata +30 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cfebab034391389c2a317a1ab52e38657c7fa02b
4
- data.tar.gz: 2846a47266a55f14e0c9ee42a61d36a9c40ac882
3
+ metadata.gz: f1b6c227417326e413c018d59b82b3545d329cc1
4
+ data.tar.gz: 1fe8c035d538d130e547f99c002d9c2101935be5
5
5
  SHA512:
6
- metadata.gz: 88db7a42087da42fcc74cfd8363625269aace47110e7383a2b78add3756ee7599b648331186e583502d506eaa698f2e67006cda949217bbb19ba01dfe748dc7b
7
- data.tar.gz: cbd925a7eb8f9a1f721c80c37ededd062f9ec885f353ab1425101ec481c268c534efa35958b7692321c3b96fc82dbd506b7093590ff7d987b6b3e5b9c6ac35aa
6
+ metadata.gz: ee2ff58bb1c9fb993d4447d6441d3e64e7c45a3bc325b0a9940624e10fc0245273265b85a3d3ec621e4c397df9d73158034c7b41eb89ee0cf3be2cc5ba3e69a5
7
+ data.tar.gz: cb676444dfccc19cdfc5d48bdc9a7207961e23a372ebe670d36c305683dd2525e304031f9679daaa5f2231357730599c87af2df4ff5e4995dcfdc1c9c9f26952
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_linear_regression
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Soren Blond Daugaard
@@ -9,12 +9,35 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
  date: 2017-06-13 00:00:00.000000000 Z
12
- dependencies: []
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: minitest
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '5.10'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 5.10.2
23
+ type: :development
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '5.10'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 5.10.2
13
33
  description: "An implementation of a linear regression machine learning algorithm
14
- in Ruby.\n This algorithm uses Ruby's Matrix implementation and the
15
- normal equation to train the data to the best fit.\n The algorithm
16
- works with one independent variable or as a multivariate linear regression with
17
- multiple variables to predict a dependent variable. "
34
+ implemented in Ruby.\n\n Features:\n - Supports simple problems with one independent
35
+ variable to predict a dependent variable and multivariate problems with multiple
36
+ independent variables to predict a dependent variable.\n - Supports training using
37
+ the normal equation\n - Supports training using gradient descent\n - The library
38
+ is implemented in pure ruby using Ruby's Matrix implementation.\n\n An example
39
+ of how to use the library can be found in the blog post: [Implementing linear regressing
40
+ using Ruby](http://www.practicalai.io/implementing-linear-regression-using-ruby/). "
18
41
  email: sbd@ineptum.dk
19
42
  executables: []
20
43
  extensions: []
@@ -41,7 +64,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
41
64
  version: '0'
42
65
  requirements: []
43
66
  rubyforge_project:
44
- rubygems_version: 2.6.12
67
+ rubygems_version: 2.4.8
45
68
  signing_key:
46
69
  specification_version: 4
47
70
  summary: Linear regression implemented in Ruby.