linefit 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/CHANGELOG +9 -0
  2. data/LICENSE +1 -1
  3. data/lib/linefit.rb +1 -1
  4. metadata +9 -9
data/CHANGELOG CHANGED
@@ -5,3 +5,12 @@ Below is a complete listing of changes for each revision of LineFit.
5
5
  == 0.1.0
6
6
 
7
7
  * Initial public release.
8
+
9
+ == 0.2.0
10
+
11
+ * Fixed bug in setWeights method.
12
+
13
+ == 0.3.0
14
+
15
+ * Fixed version dates
16
+ * Uploaded linefit to github
data/LICENSE CHANGED
@@ -4,4 +4,4 @@ Distributed under the user's choice of the {GPL Version 2}[http://www.gnu.org/li
4
4
  (see COPYING for details) or the {Ruby software license}[http://www.ruby-lang.org/en/LICENSE.txt] by
5
5
  Eric Cline.
6
6
 
7
- Please email James[mailto:escline@gmail.com] with any questions.
7
+ Please email Eric[mailto:escline@gmail.com] with any questions.
@@ -438,7 +438,7 @@ private
438
438
  puts "At least two weights must be nonzero!" unless @hush
439
439
  return FALSE
440
440
  end
441
- factor = weights.length / sumw.to_f
441
+ factor = weights.length / sumw
442
442
  weights.collect! {|weight| weight * factor}
443
443
  @weight = weights
444
444
  return TRUE
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: linefit
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
5
- prerelease: false
4
+ hash: 19
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
- - 2
8
+ - 3
9
9
  - 0
10
- version: 0.2.0
10
+ version: 0.3.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Eric Cline
@@ -16,12 +16,12 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2009-06-11 00:00:00 -05:00
19
+ date: 2012-03-23 00:00:00 -05:00
20
20
  default_executable:
21
21
  dependencies: []
22
22
 
23
23
  description: LineFit does weighted or unweighted least-squares line fitting to two-dimensional data (y = a + b * x). (Linear Regression)
24
- email: escline+rubyforge@gmail.com
24
+ email: escline+github@gmail.com
25
25
  executables: []
26
26
 
27
27
  extensions: []
@@ -35,7 +35,7 @@ files:
35
35
  - LICENSE
36
36
  - CHANGELOG
37
37
  has_rdoc: true
38
- homepage: http://linefit.rubyforge.org/
38
+ homepage: http://rubygems.org/gems/linefit
39
39
  licenses: []
40
40
 
41
41
  post_install_message:
@@ -63,8 +63,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
63
63
  version: "0"
64
64
  requirements: []
65
65
 
66
- rubyforge_project: linefit
67
- rubygems_version: 1.3.7
66
+ rubyforge_project:
67
+ rubygems_version: 1.6.2
68
68
  signing_key:
69
69
  specification_version: 3
70
70
  summary: LineFit is a linear regression math class.