ai4ruby 1.12 → 1.13
Sign up to get free protection for your applications and to get access to all the features.
@@ -21,8 +21,10 @@ module Ai4r
|
|
21
21
|
protected
|
22
22
|
|
23
23
|
def merge_clusters(index_a, index_b, index_clusters)
|
24
|
-
# store current
|
25
|
-
|
24
|
+
# store current clusters
|
25
|
+
stored_distance_matrix = @distance_matrix.dup
|
26
|
+
@cluster_tree << build_clusters_from_index_clusters(index_clusters)
|
27
|
+
@distance_matrix = stored_distance_matrix
|
26
28
|
super
|
27
29
|
end
|
28
30
|
end
|
metadata
CHANGED
@@ -1,24 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ai4ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: "1.
|
8
|
+
- 13
|
9
|
+
version: "1.13"
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Sergio Fierens
|
13
|
+
- Peter Lubell-Doughtie
|
13
14
|
autorequire:
|
14
15
|
bindir: bin
|
15
16
|
cert_chain: []
|
16
17
|
|
17
|
-
date: 2012-02-
|
18
|
+
date: 2012-02-04 00:00:00 Z
|
18
19
|
dependencies: []
|
19
20
|
|
20
21
|
description:
|
21
|
-
email:
|
22
|
+
email:
|
23
|
+
- sergio@jadeferret.com
|
24
|
+
- support@helioid.com
|
22
25
|
executables: []
|
23
26
|
|
24
27
|
extensions: []
|
@@ -104,7 +107,7 @@ files:
|
|
104
107
|
- test/neural_network/backpropagation_test.rb
|
105
108
|
- test/neural_network/hopfield_test.rb
|
106
109
|
- README.rdoc
|
107
|
-
homepage: http://
|
110
|
+
homepage: http://www.helioid.com
|
108
111
|
licenses: []
|
109
112
|
|
110
113
|
post_install_message:
|