ruby-fann 1.1.3 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/ext/ruby_fann/extconf.rb +2 -2
- data/ext/ruby_fann/{neural_network.c → ruby_fann.c} +1 -1
- data/lib/ruby-fann.rb +1 -0
- data/lib/ruby_fann.rb +3 -3
- data/lib/ruby_fann/neurotica.rb +2 -2
- data/lib/ruby_fann/version.rb +2 -2
- metadata +59 -148
- data/History.txt +0 -76
- data/License.txt +0 -20
- data/Manifest.txt +0 -63
- data/README.txt +0 -30
- data/Rakefile +0 -4
- data/config/hoe.rb +0 -71
- data/config/requirements.rb +0 -17
- data/ext/ruby_fann/MANIFEST +0 -3
- data/ext/ruby_fann/Makefile +0 -181
- data/neurotica1.png +0 -0
- data/neurotica2.vrml +0 -304
- data/script/destroy +0 -14
- data/script/generate +0 -14
- data/script/txt2html +0 -74
- data/setup.rb +0 -1585
- data/tasks/deployment.rake +0 -34
- data/tasks/environment.rake +0 -7
- data/tasks/website.rake +0 -17
- data/test/test.train +0 -3
- data/test/test_helper.rb +0 -2
- data/test/test_neurotica.rb +0 -39
- data/test/test_ruby_fann.rb +0 -444
- data/test/test_ruby_fann_functional.rb +0 -89
- data/verify.train +0 -3
- data/website/index.html +0 -114
- data/website/index.txt +0 -93
- data/website/javascripts/rounded_corners_lite.inc.js +0 -285
- data/website/stylesheets/screen.css +0 -138
- data/website/template.rhtml +0 -47
- data/xor.train +0 -9
- data/xor_cascade.net +0 -34
- data/xor_float.net +0 -34
@@ -1,138 +0,0 @@
|
|
1
|
-
body {
|
2
|
-
background-color: #E1D1F1;
|
3
|
-
font-family: "Georgia", sans-serif;
|
4
|
-
font-size: 16px;
|
5
|
-
line-height: 1.6em;
|
6
|
-
padding: 1.6em 0 0 0;
|
7
|
-
color: #333;
|
8
|
-
}
|
9
|
-
h1, h2, h3, h4, h5, h6 {
|
10
|
-
color: #444;
|
11
|
-
}
|
12
|
-
h1 {
|
13
|
-
font-family: sans-serif;
|
14
|
-
font-weight: normal;
|
15
|
-
font-size: 4em;
|
16
|
-
line-height: 0.8em;
|
17
|
-
letter-spacing: -0.1ex;
|
18
|
-
margin: 5px;
|
19
|
-
}
|
20
|
-
li {
|
21
|
-
padding: 0;
|
22
|
-
margin: 0;
|
23
|
-
list-style-type: square;
|
24
|
-
}
|
25
|
-
a {
|
26
|
-
color: #5E5AFF;
|
27
|
-
background-color: #DAC;
|
28
|
-
font-weight: normal;
|
29
|
-
text-decoration: underline;
|
30
|
-
}
|
31
|
-
blockquote {
|
32
|
-
font-size: 90%;
|
33
|
-
font-style: italic;
|
34
|
-
border-left: 1px solid #111;
|
35
|
-
padding-left: 1em;
|
36
|
-
}
|
37
|
-
.caps {
|
38
|
-
font-size: 80%;
|
39
|
-
}
|
40
|
-
|
41
|
-
#main {
|
42
|
-
width: 45em;
|
43
|
-
padding: 0;
|
44
|
-
margin: 0 auto;
|
45
|
-
}
|
46
|
-
.coda {
|
47
|
-
text-align: right;
|
48
|
-
color: #77f;
|
49
|
-
font-size: smaller;
|
50
|
-
}
|
51
|
-
|
52
|
-
table {
|
53
|
-
font-size: 90%;
|
54
|
-
line-height: 1.4em;
|
55
|
-
color: #ff8;
|
56
|
-
background-color: #111;
|
57
|
-
padding: 2px 10px 2px 10px;
|
58
|
-
border-style: dashed;
|
59
|
-
}
|
60
|
-
|
61
|
-
th {
|
62
|
-
color: #fff;
|
63
|
-
}
|
64
|
-
|
65
|
-
td {
|
66
|
-
padding: 2px 10px 2px 10px;
|
67
|
-
}
|
68
|
-
|
69
|
-
.success {
|
70
|
-
color: #0CC52B;
|
71
|
-
}
|
72
|
-
|
73
|
-
.failed {
|
74
|
-
color: #E90A1B;
|
75
|
-
}
|
76
|
-
|
77
|
-
.unknown {
|
78
|
-
color: #995000;
|
79
|
-
}
|
80
|
-
pre, code {
|
81
|
-
font-family: monospace;
|
82
|
-
font-size: 90%;
|
83
|
-
line-height: 1.4em;
|
84
|
-
color: #ff8;
|
85
|
-
background-color: #111;
|
86
|
-
padding: 2px 10px 2px 10px;
|
87
|
-
}
|
88
|
-
.comment { color: #aaa; font-style: italic; }
|
89
|
-
.keyword { color: #eff; font-weight: bold; }
|
90
|
-
.punct { color: #eee; font-weight: bold; }
|
91
|
-
.symbol { color: #0bb; }
|
92
|
-
.string { color: #6b4; }
|
93
|
-
.ident { color: #ff8; }
|
94
|
-
.constant { color: #66f; }
|
95
|
-
.regex { color: #ec6; }
|
96
|
-
.number { color: #F99; }
|
97
|
-
.expr { color: #227; }
|
98
|
-
|
99
|
-
#version {
|
100
|
-
float: right;
|
101
|
-
text-align: right;
|
102
|
-
font-family: sans-serif;
|
103
|
-
font-weight: normal;
|
104
|
-
background-color: #B3ABFF;
|
105
|
-
color: #141331;
|
106
|
-
padding: 15px 20px 10px 20px;
|
107
|
-
margin: 0 auto;
|
108
|
-
margin-top: 15px;
|
109
|
-
border: 3px solid #141331;
|
110
|
-
}
|
111
|
-
|
112
|
-
#version .numbers {
|
113
|
-
display: block;
|
114
|
-
font-size: 4em;
|
115
|
-
line-height: 0.8em;
|
116
|
-
letter-spacing: -0.1ex;
|
117
|
-
margin-bottom: 15px;
|
118
|
-
}
|
119
|
-
|
120
|
-
#version p {
|
121
|
-
text-decoration: none;
|
122
|
-
color: #141331;
|
123
|
-
background-color: #B3ABFF;
|
124
|
-
margin: 0;
|
125
|
-
padding: 0;
|
126
|
-
}
|
127
|
-
|
128
|
-
#version a {
|
129
|
-
text-decoration: none;
|
130
|
-
color: #141331;
|
131
|
-
background-color: #B3ABFF;
|
132
|
-
}
|
133
|
-
|
134
|
-
.clickable {
|
135
|
-
cursor: pointer;
|
136
|
-
cursor: hand;
|
137
|
-
}
|
138
|
-
|
data/website/template.rhtml
DELETED
@@ -1,47 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
-
<head>
|
5
|
-
<link rel="stylesheet" href="stylesheets/screen.css" type="text/css" media="screen" />
|
6
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
7
|
-
<title>
|
8
|
-
<%= title %>
|
9
|
-
</title>
|
10
|
-
<script src="javascripts/rounded_corners_lite.inc.js" type="text/javascript"></script>
|
11
|
-
<style>
|
12
|
-
|
13
|
-
</style>
|
14
|
-
<script type="text/javascript">
|
15
|
-
window.onload = function() {
|
16
|
-
settings = {
|
17
|
-
tl: { radius: 10 },
|
18
|
-
tr: { radius: 10 },
|
19
|
-
bl: { radius: 10 },
|
20
|
-
br: { radius: 10 },
|
21
|
-
antiAlias: true,
|
22
|
-
autoPad: true,
|
23
|
-
validTags: ["div"]
|
24
|
-
}
|
25
|
-
var versionBox = new curvyCorners(settings, document.getElementById("version"));
|
26
|
-
versionBox.applyCornersToAll();
|
27
|
-
}
|
28
|
-
</script>
|
29
|
-
</head>
|
30
|
-
<body>
|
31
|
-
<div id="main">
|
32
|
-
|
33
|
-
<h1><%= title %></h1>
|
34
|
-
<div id="version" class="clickable" onclick='document.location = "<%= download %>"; return false'>
|
35
|
-
<p>Get Version</p>
|
36
|
-
<a href="<%= download %>" class="numbers"><%= version %></a>
|
37
|
-
</div>
|
38
|
-
<%= body %>
|
39
|
-
<p class="coda">
|
40
|
-
<a href="steven@7bpeople.com">Steven Miers</a>, <%= modified.pretty %><br>
|
41
|
-
</p>
|
42
|
-
</div>
|
43
|
-
|
44
|
-
<!-- insert site tracking codes here, like Google Urchin -->
|
45
|
-
|
46
|
-
</body>
|
47
|
-
</html>
|
data/xor.train
DELETED
data/xor_cascade.net
DELETED
@@ -1,34 +0,0 @@
|
|
1
|
-
FANN_FLO_2.1
|
2
|
-
num_layers=4
|
3
|
-
learning_rate=0.700000
|
4
|
-
connection_rate=1.000000
|
5
|
-
network_type=1
|
6
|
-
learning_momentum=0.000000
|
7
|
-
training_algorithm=2
|
8
|
-
train_error_function=0
|
9
|
-
train_stop_function=0
|
10
|
-
cascade_output_change_fraction=0.010000
|
11
|
-
quickprop_decay=-0.000100
|
12
|
-
quickprop_mu=1.750000
|
13
|
-
rprop_increase_factor=1.200000
|
14
|
-
rprop_decrease_factor=0.500000
|
15
|
-
rprop_delta_min=0.000000
|
16
|
-
rprop_delta_max=50.000000
|
17
|
-
rprop_delta_zero=0.100000
|
18
|
-
cascade_output_stagnation_epochs=12
|
19
|
-
cascade_candidate_change_fraction=0.010000
|
20
|
-
cascade_candidate_stagnation_epochs=12
|
21
|
-
cascade_max_out_epochs=150
|
22
|
-
cascade_max_cand_epochs=150
|
23
|
-
cascade_num_candidate_groups=2
|
24
|
-
bit_fail_limit=3.49999999999999977796e-01
|
25
|
-
cascade_candidate_limit=1.00000000000000000000e+03
|
26
|
-
cascade_weight_multiplier=4.00000000000000022204e-01
|
27
|
-
cascade_activation_functions_count=10
|
28
|
-
cascade_activation_functions=3 5 7 8 10 11 14 15 16 17
|
29
|
-
cascade_activation_steepnesses_count=4
|
30
|
-
cascade_activation_steepnesses=2.50000000000000000000e-01 5.00000000000000000000e-01 7.50000000000000000000e-01 1.00000000000000000000e+00
|
31
|
-
layer_sizes=3 1 1 1
|
32
|
-
scale_included=0
|
33
|
-
neurons (num_inputs, activation_function, activation_steepness)=(0, 0, 0.00000000000000000000e+00) (0, 0, 0.00000000000000000000e+00) (0, 0, 0.00000000000000000000e+00) (3, 15, 5.00000000000000000000e-01) (4, 3, 5.00000000000000000000e-01) (5, 5, 5.00000000000000000000e-01)
|
34
|
-
connections (connected_to_neuron, weight)=(0, 3.10708883886891351622e+00) (1, 3.10338071470814691466e+00) (2, 7.65357121957630642806e-02) (0, -1.09105405579982245312e-01) (1, 1.38516815257072739564e-01) (2, -5.57924056685979294912e+01) (3, 4.27822468842962849722e-02) (0, 2.60853981357382913586e-01) (1, 2.64955208099198424865e-01) (2, 2.30283002889318688666e-01) (3, 3.95939688330888941437e+01) (4, 2.43605282094651487412e-01)
|
data/xor_float.net
DELETED
@@ -1,34 +0,0 @@
|
|
1
|
-
FANN_FLO_2.1
|
2
|
-
num_layers=3
|
3
|
-
learning_rate=0.700000
|
4
|
-
connection_rate=1.000000
|
5
|
-
network_type=0
|
6
|
-
learning_momentum=0.000000
|
7
|
-
training_algorithm=2
|
8
|
-
train_error_function=1
|
9
|
-
train_stop_function=1
|
10
|
-
cascade_output_change_fraction=0.010000
|
11
|
-
quickprop_decay=-0.000100
|
12
|
-
quickprop_mu=1.750000
|
13
|
-
rprop_increase_factor=1.200000
|
14
|
-
rprop_decrease_factor=0.500000
|
15
|
-
rprop_delta_min=0.000000
|
16
|
-
rprop_delta_max=50.000000
|
17
|
-
rprop_delta_zero=0.100000
|
18
|
-
cascade_output_stagnation_epochs=12
|
19
|
-
cascade_candidate_change_fraction=0.010000
|
20
|
-
cascade_candidate_stagnation_epochs=12
|
21
|
-
cascade_max_out_epochs=150
|
22
|
-
cascade_max_cand_epochs=150
|
23
|
-
cascade_num_candidate_groups=2
|
24
|
-
bit_fail_limit=1.00000000000000002082e-03
|
25
|
-
cascade_candidate_limit=1.00000000000000000000e+03
|
26
|
-
cascade_weight_multiplier=4.00000000000000022204e-01
|
27
|
-
cascade_activation_functions_count=10
|
28
|
-
cascade_activation_functions=3 5 7 8 10 11 14 15 16 17
|
29
|
-
cascade_activation_steepnesses_count=4
|
30
|
-
cascade_activation_steepnesses=2.50000000000000000000e-01 5.00000000000000000000e-01 7.50000000000000000000e-01 1.00000000000000000000e+00
|
31
|
-
layer_sizes=3 4 2
|
32
|
-
scale_included=0
|
33
|
-
neurons (num_inputs, activation_function, activation_steepness)=(0, 0, 0.00000000000000000000e+00) (0, 0, 0.00000000000000000000e+00) (0, 0, 0.00000000000000000000e+00) (3, 5, 1.00000000000000000000e+00) (3, 5, 1.00000000000000000000e+00) (3, 5, 1.00000000000000000000e+00) (0, 5, 1.00000000000000000000e+00) (4, 5, 1.00000000000000000000e+00) (0, 5, 1.00000000000000000000e+00)
|
34
|
-
connections (connected_to_neuron, weight)=(0, -2.73488929137393732560e+00) (1, 2.62393843594422904175e+00) (2, -1.89478715786915508090e+00) (0, 1.95305696104393855528e+00) (1, -1.84806794977636967836e+00) (2, -1.61445312371210136781e+00) (0, 1.75384548885381619243e+00) (1, -1.73045722542488666917e+00) (2, -1.31898702062678485625e+00) (3, 4.47716800493138489259e+00) (4, 1.34492352041529561468e+00) (5, 3.05774558646827809838e+00) (6, 3.68831561498669424637e+00)
|