ai4r 1.11 → 1.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. data/README.rdoc +3 -2
  2. data/examples/classifiers/id3_example.rb +1 -1
  3. data/examples/genetic_algorithm/genetic_algorithm_example.rb +2 -2
  4. data/examples/neural_network/backpropagation_example.rb +2 -2
  5. data/examples/neural_network/patterns_with_base_noise.rb +2 -2
  6. data/examples/neural_network/patterns_with_noise.rb +1 -1
  7. data/examples/neural_network/training_patterns.rb +2 -2
  8. data/examples/neural_network/xor_example.rb +2 -2
  9. data/lib/ai4r/classifiers/classifier.rb +1 -1
  10. data/lib/ai4r/classifiers/hyperpipes.rb +1 -1
  11. data/lib/ai4r/classifiers/ib1.rb +1 -1
  12. data/lib/ai4r/classifiers/id3.rb +2 -2
  13. data/lib/ai4r/classifiers/multilayer_perceptron.rb +1 -1
  14. data/lib/ai4r/classifiers/naive_bayes.rb +1 -1
  15. data/lib/ai4r/classifiers/one_r.rb +1 -1
  16. data/lib/ai4r/classifiers/prism.rb +1 -1
  17. data/lib/ai4r/classifiers/zero_r.rb +1 -1
  18. data/lib/ai4r/clusterers/average_linkage.rb +1 -1
  19. data/lib/ai4r/clusterers/bisecting_k_means.rb +2 -2
  20. data/lib/ai4r/clusterers/centroid_linkage.rb +1 -1
  21. data/lib/ai4r/clusterers/clusterer.rb +1 -1
  22. data/lib/ai4r/clusterers/complete_linkage.rb +1 -1
  23. data/lib/ai4r/clusterers/diana.rb +1 -1
  24. data/lib/ai4r/clusterers/k_means.rb +1 -1
  25. data/lib/ai4r/clusterers/median_linkage.rb +1 -1
  26. data/lib/ai4r/clusterers/single_linkage.rb +1 -1
  27. data/lib/ai4r/clusterers/ward_linkage.rb +1 -1
  28. data/lib/ai4r/clusterers/weighted_average_linkage.rb +1 -1
  29. data/lib/ai4r/data/data_set.rb +1 -1
  30. data/lib/ai4r/data/parameterizable.rb +1 -1
  31. data/lib/ai4r/data/proximity.rb +2 -2
  32. data/lib/ai4r/data/statistics.rb +2 -2
  33. data/lib/ai4r/genetic_algorithm/genetic_algorithm.rb +2 -2
  34. data/lib/ai4r/neural_network/backpropagation.rb +2 -2
  35. data/lib/ai4r/neural_network/hopfield.rb +1 -1
  36. data/lib/ai4r/som/layer.rb +1 -1
  37. data/lib/ai4r/som/node.rb +1 -1
  38. data/lib/ai4r/som/som.rb +3 -3
  39. data/lib/ai4r/som/two_phase_layer.rb +1 -1
  40. data/test/classifiers/hyperpipes_test.rb +1 -1
  41. data/test/classifiers/ib1_test.rb +1 -1
  42. data/test/classifiers/id3_test.rb +1 -1
  43. data/test/clusterers/average_linkage_test.rb +1 -1
  44. data/test/clusterers/bisecting_k_means_test.rb +1 -1
  45. data/test/clusterers/centroid_linkage_test.rb +1 -1
  46. data/test/clusterers/complete_linkage_test.rb +1 -1
  47. data/test/clusterers/diana_test.rb +1 -1
  48. data/test/clusterers/k_means_test.rb +1 -1
  49. data/test/clusterers/median_linkage_test.rb +1 -1
  50. data/test/clusterers/single_linkage_test.rb +1 -1
  51. data/test/clusterers/ward_linkage_test.rb +1 -1
  52. data/test/clusterers/weighted_average_linkage_test.rb +1 -1
  53. data/test/data/data_set_test.rb +1 -1
  54. data/test/data/proximity_test.rb +1 -1
  55. data/test/data/statistics_test.rb +1 -1
  56. data/test/experiment/classifier_evaluator_test.rb +1 -1
  57. data/test/genetic_algorithm/chromosome_test.rb +1 -1
  58. data/test/genetic_algorithm/genetic_algorithm_test.rb +1 -1
  59. data/test/neural_network/backpropagation_test.rb +1 -1
  60. data/test/neural_network/hopfield_test.rb +1 -1
  61. data/test/som/som_test.rb +1 -1
  62. metadata +58 -88
@@ -5,7 +5,7 @@ algorithms covering several Artificial intelligence fields.
5
5
 
6
6
  = Where can I find the lastest code and info on this project?
7
7
 
8
- http://ai4r.rubyforge.org
8
+ http://www.ai4r.org
9
9
 
10
10
  = How to install
11
11
 
@@ -20,7 +20,8 @@ http://ai4r.rubyforge.org
20
20
 
21
21
  = More Info
22
22
 
23
- * AI4R Project site: http://ai4r.rubyforge.org
23
+ * AI4R Project site: http://www.ai4r.org
24
+ * RDoc site: http://www.ai4r.org/rdoc/index.html
24
25
 
25
26
  = Contact
26
27
 
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://www.ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://www.ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -34,4 +34,4 @@ puts "COST #{-1 * result.fitness} TOUR: "+
34
34
  # $7611.99 TOUR: Moscow, Kiev, Warsaw, Hamburg, Berlin, Vienna, Munich, Milan, Rome, Barcelona, Madrid, Paris, Brussels, London, Dublin
35
35
  # $7659.81 TOUR: Moscow, Kiev, Warsaw, Vienna, Munich, Berlin, Hamburg, Brussels, Dublin, London, Paris, Milan, Rome, Barcelona, Madrid
36
36
  # $7596.74 TOUR: Moscow, Kiev, Warsaw, Berlin, Hamburg, Vienna, Munich, Milan, Rome, Barcelona, Madrid, Paris, Brussels, London Dublin
37
-
37
+
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://www.ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -64,4 +64,4 @@ times = Benchmark.measure do
64
64
 
65
65
  end
66
66
 
67
- puts "Elapsed time: #{times}"
67
+ puts "Elapsed time: #{times}"
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://www.ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -65,4 +65,4 @@ CROSS_WITH_BASE_NOISE = [
65
65
  [ 3, 3, 3, 3, 3, 3, 3, 8, 8, 3, 3, 3, 3, 3, 3, 3],
66
66
  [ 3, 3, 3, 3, 3, 3, 3, 8, 8, 3, 3, 3, 3, 3, 3, 3]
67
67
  ]
68
-
68
+
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://www.ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://www.ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -65,4 +65,4 @@ CROSS = [
65
65
  [ 0, 0, 0, 0, 0, 0, 0, 5, 5, 0, 0, 0, 0, 0, 0, 0],
66
66
  [ 0, 0, 0, 0, 0, 0, 0, 5, 5, 0, 0, 0, 0, 0, 0, 0]
67
67
  ]
68
-
68
+
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://www.ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -32,4 +32,4 @@ times = Benchmark.measure do
32
32
  puts "[1,1] = > #{net.eval([1,1]).inspect}"
33
33
  end
34
34
 
35
- puts "Elapsed time: #{times}"
35
+ puts "Elapsed time: #{times}"
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org
4
+ # Url:: http://ai4r.org
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens (Implementation only)
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://www.ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens (Implementation only)
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -2,7 +2,7 @@
2
2
  # the creator of the algorithm)
3
3
  # License:: MPL 1.1
4
4
  # Project:: ai4r
5
- # Url:: http://ai4r.rubyforge.org/
5
+ # Url:: http://ai4r.org/
6
6
  #
7
7
  # You can redistribute it and/or modify it under the terms of
8
8
  # the Mozilla Public License version 1.1 as published by the
@@ -88,7 +88,7 @@ module Ai4r
88
88
  # = About the project
89
89
  # Author:: Sergio Fierens
90
90
  # License:: MPL 1.1
91
- # Url:: http://ai4r.rubyforge.org/
91
+ # Url:: http://ai4r.org/
92
92
  class ID3 < Classifier
93
93
 
94
94
  attr_reader :data_set
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens (Implementation only)
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -1,7 +1,7 @@
1
1
  # Author:: Thomas Kern
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens (Implementation only)
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://www.ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -2,7 +2,7 @@
2
2
  # the creator of the algorithm)
3
3
  # License:: MPL 1.1
4
4
  # Project:: ai4r
5
- # Url:: http://ai4r.rubyforge.org/
5
+ # Url:: http://www.ai4r.org/
6
6
  #
7
7
  # You can redistribute it and/or modify it under the terms of
8
8
  # the Mozilla Public License version 1.1 as published by the
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens (Implementation only)
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens (implementation)
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens (implementation)
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://www.ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -14,7 +14,7 @@ module Ai4r
14
14
  module Clusterers
15
15
 
16
16
  # The Bisecting k-means algorithm is a variation of the "k-means" algorithm,
17
- # somewhat less sensible to the initial election of centroids than the
17
+ # somewhat less sensitive to the initial election of centroids than the
18
18
  # original.
19
19
  #
20
20
  # More about K Means algorithm:
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens (implementation)
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens (implementation)
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens (implementation)
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://www.ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens (implementation)
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens (implementation)
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://www.ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens (implementation)
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens (implementation)
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://www.ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens (implementation)
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://www.ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -97,4 +97,4 @@ module Ai4r
97
97
  end
98
98
 
99
99
  end
100
-
100
+
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://www.ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -74,4 +74,4 @@ module Ai4r
74
74
 
75
75
  end
76
76
  end
77
- end
77
+ end
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -267,4 +267,4 @@ module Ai4r
267
267
 
268
268
  end
269
269
 
270
- end
270
+ end
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -81,7 +81,7 @@ module Ai4r
81
81
  # = About the project
82
82
  # Author:: Sergio Fierens
83
83
  # License:: MPL 1.1
84
- # Url:: http://ai4r.rubyforge.org
84
+ # Url:: http://ai4r.org
85
85
  class Backpropagation
86
86
 
87
87
  include Ai4r::Data::Parameterizable
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -1,7 +1,7 @@
1
1
  # Author:: Thomas Kern
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -1,7 +1,7 @@
1
1
  # Author:: Thomas Kern
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -1,7 +1,7 @@
1
1
  # Author:: Thomas Kern
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -47,7 +47,7 @@ module Ai4r
47
47
  # = About the project
48
48
  # Author:: Thomas Kern
49
49
  # License:: MPL 1.1
50
- # Url:: http://ai4r.rubyforge.org
50
+ # Url:: http://ai4r.org
51
51
 
52
52
  class Som
53
53
 
@@ -152,4 +152,4 @@ module Ai4r
152
152
 
153
153
  end
154
154
 
155
- end
155
+ end
@@ -1,7 +1,7 @@
1
1
  # Author:: Thomas Kern
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://www.ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://www.ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -6,7 +6,7 @@
6
6
  # Author:: Sergio Fierens
7
7
  # License:: MPL 1.1
8
8
  # Project:: ai4r
9
- # Url:: http://ai4r.rubyforge.org/
9
+ # Url:: http://www.ai4r.org/
10
10
  #
11
11
  # You can redistribute it and/or modify it under the terms of
12
12
  # the Mozilla Public License version 1.1 as published by the
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens (implementation)
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens (implementation)
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens (implementation)
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens (implementation)
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens (implementation)
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens (implementation)
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://www.ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens (implementation)
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens (implementation)
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens (implementation)
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens (implementation)
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://www.ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://www.ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://www.ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -1,7 +1,7 @@
1
1
  # Author:: Sergio Fierens
2
2
  # License:: MPL 1.1
3
3
  # Project:: ai4r
4
- # Url:: http://ai4r.rubyforge.org/
4
+ # Url:: http://www.ai4r.org/
5
5
  #
6
6
  # You can redistribute it and/or modify it under the terms of
7
7
  # the Mozilla Public License version 1.1 as published by the
@@ -7,7 +7,7 @@
7
7
  # Author:: Sergio Fierens
8
8
  # License:: MPL 1.1
9
9
  # Project:: ai4r
10
- # Url:: http://ai4r.rubyforge.org/
10
+ # Url:: http://www.ai4r.org/
11
11
  #
12
12
  # You can redistribute it and/or modify it under the terms of
13
13
  # the Mozilla Public License version 1.1 as published by the
@@ -3,7 +3,7 @@
3
3
  # Author:: Sergio Fierens
4
4
  # License:: MPL 1.1
5
5
  # Project:: ai4r
6
- # Url:: http://ai4r.rubyforge.org/
6
+ # Url:: http://www.ai4r.org/
7
7
  #
8
8
  # You can redistribute it and/or modify it under the terms of
9
9
  # the Mozilla Public License version 1.1 as published by the
@@ -4,7 +4,7 @@
4
4
  # Author:: Thomas Kern
5
5
  # License:: MPL 1.1
6
6
  # Project:: ai4r
7
- # Url:: http://ai4r.rubyforge.org/
7
+ # Url:: http://www.ai4r.org/
8
8
  #
9
9
  # You can redistribute it and/or modify it under the terms of
10
10
  # the Mozilla Public License version 1.1 as published by the
metadata CHANGED
@@ -1,12 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ai4r
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
5
- prerelease:
4
+ prerelease: false
6
5
  segments:
7
6
  - 1
8
- - 11
9
- version: "1.11"
7
+ - 12
8
+ version: "1.12"
10
9
  platform: ruby
11
10
  authors:
12
11
  - Sergio Fierens
@@ -14,11 +13,12 @@ autorequire:
14
13
  bindir: bin
15
14
  cert_chain: []
16
15
 
17
- date: 2012-02-28 00:00:00 Z
16
+ date: 2012-09-07 00:00:00 -05:00
17
+ default_executable:
18
18
  dependencies: []
19
19
 
20
20
  description:
21
- email: sergio.fierens@gmail.com
21
+ email:
22
22
  executables: []
23
23
 
24
24
  extensions: []
@@ -26,83 +26,57 @@ extensions: []
26
26
  extra_rdoc_files:
27
27
  - README.rdoc
28
28
  files:
29
- - examples/som/som_multi_node_example.rb
30
- - examples/som/som_single_example.rb
31
- - examples/som/som_data.rb
32
- - examples/neural_network/patterns_with_noise.rb
33
29
  - examples/neural_network/patterns_with_base_noise.rb
34
30
  - examples/neural_network/training_patterns.rb
35
31
  - examples/neural_network/xor_example.rb
32
+ - examples/neural_network/patterns_with_noise.rb
36
33
  - examples/neural_network/backpropagation_example.rb
34
+ - examples/som/som_data.rb
35
+ - examples/som/som_single_example.rb
36
+ - examples/som/som_multi_node_example.rb
37
37
  - examples/classifiers/id3_example.rb
38
+ - examples/classifiers/results.txt
38
39
  - examples/classifiers/naive_bayes_example.rb
39
- - examples/classifiers/id3_data.csv
40
40
  - examples/classifiers/naive_bayes_data.csv
41
- - examples/classifiers/results.txt
42
- - examples/genetic_algorithm/travel_cost.csv
41
+ - examples/classifiers/id3_data.csv
43
42
  - examples/genetic_algorithm/genetic_algorithm_example.rb
43
+ - examples/genetic_algorithm/travel_cost.csv
44
44
  - lib/ai4r.rb
45
- - lib/ai4r/som/layer.rb
46
- - lib/ai4r/som/node.rb
47
- - lib/ai4r/som/som.rb
48
- - lib/ai4r/som/two_phase_layer.rb
49
- - lib/ai4r/clusterers/median_linkage.rb
50
- - lib/ai4r/clusterers/clusterer.rb
51
- - lib/ai4r/clusterers/k_means.rb
52
- - lib/ai4r/clusterers/single_linkage.rb
53
- - lib/ai4r/clusterers/diana.rb
54
- - lib/ai4r/clusterers/weighted_average_linkage.rb
55
- - lib/ai4r/clusterers/centroid_linkage.rb
56
- - lib/ai4r/clusterers/complete_linkage.rb
57
- - lib/ai4r/clusterers/average_linkage.rb
58
- - lib/ai4r/clusterers/bisecting_k_means.rb
59
- - lib/ai4r/clusterers/ward_linkage.rb
60
- - lib/ai4r/data/statistics.rb
61
- - lib/ai4r/data/data_set.rb
62
- - lib/ai4r/data/parameterizable.rb
63
45
  - lib/ai4r/data/proximity.rb
46
+ - lib/ai4r/data/parameterizable.rb
47
+ - lib/ai4r/data/data_set.rb
48
+ - lib/ai4r/data/statistics.rb
64
49
  - lib/ai4r/neural_network/backpropagation.rb
65
50
  - lib/ai4r/neural_network/hopfield.rb
66
- - lib/ai4r/classifiers/one_r.rb
67
- - lib/ai4r/classifiers/multilayer_perceptron.rb
68
- - lib/ai4r/classifiers/classifier.rb
51
+ - lib/ai4r/som/node.rb
52
+ - lib/ai4r/som/som.rb
53
+ - lib/ai4r/som/two_phase_layer.rb
54
+ - lib/ai4r/som/layer.rb
69
55
  - lib/ai4r/classifiers/ib1.rb
70
- - lib/ai4r/classifiers/prism.rb
71
- - lib/ai4r/classifiers/zero_r.rb
72
56
  - lib/ai4r/classifiers/id3.rb
73
57
  - lib/ai4r/classifiers/naive_bayes.rb
74
58
  - lib/ai4r/classifiers/hyperpipes.rb
59
+ - lib/ai4r/classifiers/zero_r.rb
60
+ - lib/ai4r/classifiers/multilayer_perceptron.rb
61
+ - lib/ai4r/classifiers/one_r.rb
62
+ - lib/ai4r/classifiers/classifier.rb
63
+ - lib/ai4r/classifiers/prism.rb
75
64
  - lib/ai4r/experiment/classifier_evaluator.rb
76
65
  - lib/ai4r/genetic_algorithm/genetic_algorithm.rb
66
+ - lib/ai4r/clusterers/complete_linkage.rb
67
+ - lib/ai4r/clusterers/single_linkage.rb
68
+ - lib/ai4r/clusterers/k_means.rb
69
+ - lib/ai4r/clusterers/clusterer.rb
70
+ - lib/ai4r/clusterers/centroid_linkage.rb
71
+ - lib/ai4r/clusterers/diana.rb
72
+ - lib/ai4r/clusterers/average_linkage.rb
73
+ - lib/ai4r/clusterers/bisecting_k_means.rb
74
+ - lib/ai4r/clusterers/ward_linkage.rb
75
+ - lib/ai4r/clusterers/median_linkage.rb
76
+ - lib/ai4r/clusterers/weighted_average_linkage.rb
77
77
  - README.rdoc
78
- - test/som/som_test.rb
79
- - test/clusterers/ward_linkage_test.rb
80
- - test/clusterers/median_linkage_test.rb
81
- - test/clusterers/diana_test.rb
82
- - test/clusterers/average_linkage_test.rb
83
- - test/clusterers/centroid_linkage_test.rb
84
- - test/clusterers/complete_linkage_test.rb
85
- - test/clusterers/single_linkage_test.rb
86
- - test/clusterers/bisecting_k_means_test.rb
87
- - test/clusterers/k_means_test.rb
88
- - test/clusterers/weighted_average_linkage_test.rb
89
- - test/data/proximity_test.rb
90
- - test/data/statistics_test.rb
91
- - test/data/data_set_test.rb
92
- - test/neural_network/backpropagation_test.rb
93
- - test/neural_network/hopfield_test.rb
94
- - test/classifiers/one_r_test.rb
95
- - test/classifiers/multilayer_perceptron_test.rb
96
- - test/classifiers/hyperpipes_test.rb
97
- - test/classifiers/ib1_test.rb
98
- - test/classifiers/zero_r_test.rb
99
- - test/classifiers/naive_bayes_test.rb
100
- - test/classifiers/id3_test.rb
101
- - test/classifiers/prism_test.rb
102
- - test/experiment/classifier_evaluator_test.rb
103
- - test/genetic_algorithm/chromosome_test.rb
104
- - test/genetic_algorithm/genetic_algorithm_test.rb
105
- homepage: http://ai4r.rubyforge.org
78
+ has_rdoc: true
79
+ homepage: http://www.ai4r.org
106
80
  licenses: []
107
81
 
108
82
  post_install_message:
@@ -111,55 +85,51 @@ rdoc_options: []
111
85
  require_paths:
112
86
  - lib
113
87
  required_ruby_version: !ruby/object:Gem::Requirement
114
- none: false
115
88
  requirements:
116
89
  - - ">="
117
90
  - !ruby/object:Gem::Version
118
- hash: 3
119
91
  segments:
120
92
  - 0
121
93
  version: "0"
122
94
  required_rubygems_version: !ruby/object:Gem::Requirement
123
- none: false
124
95
  requirements:
125
96
  - - ">="
126
97
  - !ruby/object:Gem::Version
127
- hash: 3
128
98
  segments:
129
99
  - 0
130
100
  version: "0"
131
101
  requirements: []
132
102
 
133
- rubyforge_project: ai4r
134
- rubygems_version: 1.7.2
103
+ rubyforge_project:
104
+ rubygems_version: 1.3.6
135
105
  signing_key:
136
106
  specification_version: 3
137
- summary: Ruby implementations of algorithms covering several Artificial intelligence fields, including Genetic algorithms, Neural Networks, machine learning, and clustering.
107
+ summary: Ruby algorithm implementations covering several Artificial intelligence fields, including Genetic algorithms, Neural Networks, machine learning, and clustering.
138
108
  test_files:
139
- - test/som/som_test.rb
140
- - test/clusterers/ward_linkage_test.rb
141
- - test/clusterers/median_linkage_test.rb
142
- - test/clusterers/diana_test.rb
143
- - test/clusterers/average_linkage_test.rb
144
- - test/clusterers/centroid_linkage_test.rb
145
- - test/clusterers/complete_linkage_test.rb
146
- - test/clusterers/single_linkage_test.rb
147
- - test/clusterers/bisecting_k_means_test.rb
148
- - test/clusterers/k_means_test.rb
149
- - test/clusterers/weighted_average_linkage_test.rb
150
109
  - test/data/proximity_test.rb
151
- - test/data/statistics_test.rb
152
110
  - test/data/data_set_test.rb
153
- - test/neural_network/backpropagation_test.rb
111
+ - test/data/statistics_test.rb
154
112
  - test/neural_network/hopfield_test.rb
113
+ - test/neural_network/backpropagation_test.rb
114
+ - test/som/som_test.rb
155
115
  - test/classifiers/one_r_test.rb
156
- - test/classifiers/multilayer_perceptron_test.rb
157
- - test/classifiers/hyperpipes_test.rb
116
+ - test/classifiers/id3_test.rb
158
117
  - test/classifiers/ib1_test.rb
118
+ - test/classifiers/hyperpipes_test.rb
159
119
  - test/classifiers/zero_r_test.rb
160
- - test/classifiers/naive_bayes_test.rb
161
- - test/classifiers/id3_test.rb
162
120
  - test/classifiers/prism_test.rb
121
+ - test/classifiers/multilayer_perceptron_test.rb
122
+ - test/classifiers/naive_bayes_test.rb
163
123
  - test/experiment/classifier_evaluator_test.rb
164
124
  - test/genetic_algorithm/chromosome_test.rb
165
125
  - test/genetic_algorithm/genetic_algorithm_test.rb
126
+ - test/clusterers/complete_linkage_test.rb
127
+ - test/clusterers/average_linkage_test.rb
128
+ - test/clusterers/centroid_linkage_test.rb
129
+ - test/clusterers/bisecting_k_means_test.rb
130
+ - test/clusterers/diana_test.rb
131
+ - test/clusterers/single_linkage_test.rb
132
+ - test/clusterers/weighted_average_linkage_test.rb
133
+ - test/clusterers/k_means_test.rb
134
+ - test/clusterers/median_linkage_test.rb
135
+ - test/clusterers/ward_linkage_test.rb