onedclusterer 0.1.0 → 0.2.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bb699416393553f57991d0375be6ff278bbddffc
4
- data.tar.gz: c7f00767cca21af5fd2946668fc31b0bf91df5ce
3
+ metadata.gz: 20a6af7d4e3b3b1ad72458ccb3b49f38b907f767
4
+ data.tar.gz: 7b4c3bb5e0417ca0ef376185da766c7e917400f7
5
5
  SHA512:
6
- metadata.gz: 6c5afee47f692194509869fe7bd0531248c44a3b8119e345c5a1cd219184790f5e1053a81d3412aed6214391aaa7e10b58484c578387f6d5e5e129b3c568cb54
7
- data.tar.gz: e9afec6e1500240174c3693fb7c9091018b14029bbb6f29b71213a027e32363749af4dba6c738954da98c511eba07965fb1cbb9f713bd7e9e9c83f2bccb58730
6
+ metadata.gz: 76815bcb59367abd81df6c57f6678295b86101bb63fdc542b235575581f9abf40bf1daa190217cb5cafaa81a4e4bb7ff69b00221fea3f83cd64ad8e192516a34
7
+ data.tar.gz: eb16ca7177745b591538b7d776e7cf22c25caceecd0f0428f0e3eb977fcd555430da57645b8959f678a9f092bfd23bd331111e18f7f5ef55a35b2765d30d62e0
data/.gitignore CHANGED
File without changes
File without changes
File without changes
data/Gemfile CHANGED
File without changes
File without changes
data/README.md CHANGED
File without changes
data/Rakefile CHANGED
File without changes
File without changes
data/bin/setup CHANGED
File without changes
File without changes
@@ -32,7 +32,7 @@ module OnedClusterer
32
32
  class Ckmeans
33
33
  include Clusterer
34
34
 
35
- attr_reader :data, :kmin, :kmax, :cluster_details
35
+ attr_reader :data, :kmin, :kmax
36
36
 
37
37
  # Input:
38
38
  # data -- a vector of numbers, not necessarily sorted
@@ -52,7 +52,7 @@ module OnedClusterer
52
52
  raise ArgumentError, "kmax can not be greater than data size." if kmax > @data_size
53
53
  end
54
54
 
55
- # returns clustered data as array and sets :cluster_details
55
+ # returns clustered data as array
56
56
  def clusters
57
57
  @clusters_result ||=begin
58
58
  if @unique <= 1 # A single cluster that contains all elements
File without changes
File without changes
@@ -1,3 +1,3 @@
1
1
  module OnedClusterer
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
File without changes
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: onedclusterer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hamdi Akoguz
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-10-10 00:00:00.000000000 Z
11
+ date: 2015-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -107,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
107
107
  version: '0'
108
108
  requirements: []
109
109
  rubyforge_project:
110
- rubygems_version: 2.2.3
110
+ rubygems_version: 2.4.6
111
111
  signing_key:
112
112
  specification_version: 4
113
113
  summary: a tiny ruby library for one-dimensional clustering methods.