db_mlp 0.0.2 → 0.0.3
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.
- data/README.rdoc +2 -2
- data/VERSION +1 -1
- data/db_mlp.gemspec +2 -2
- data/lib/modules/create_test_results.rb +2 -1
- metadata +2 -2
data/README.rdoc
CHANGED
@@ -8,8 +8,8 @@ This is first release and because of that it's a bit slow, I'll probably try out
|
|
8
8
|
|
9
9
|
== Install
|
10
10
|
|
11
|
-
gem sources -a http://
|
12
|
-
sudo gem install
|
11
|
+
gem sources -a -http://gemcutter.org
|
12
|
+
sudo gem install db_mlp
|
13
13
|
|
14
14
|
== How To Use
|
15
15
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.3
|
data/db_mlp.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{db_mlp}
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["reddavis"]
|
12
|
-
s.date = %q{2009-10-
|
12
|
+
s.date = %q{2009-10-21}
|
13
13
|
s.description = %q{Database backed Multi-Layer Perceptron Neural Network in Ruby}
|
14
14
|
s.email = %q{reddavis@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -4,11 +4,12 @@ module CreateTestResults
|
|
4
4
|
|
5
5
|
def create_test_report(test_examples, report_path)
|
6
6
|
results = []
|
7
|
+
results << "ID\tAttributes\tTarget\tResults\tError" # Add the headers
|
7
8
|
|
8
9
|
test_examples.each_with_index do |example, index|
|
9
10
|
input, target = example[0], example[1]
|
10
11
|
feed_forward(input)
|
11
|
-
info = "
|
12
|
+
info = "#{index}\t#{input.inspect}\t#{target.inspect}\t#{last_outputs.inspect}\t#{calculate_error(target)}"
|
12
13
|
results << info
|
13
14
|
end
|
14
15
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: db_mlp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- reddavis
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-10-
|
12
|
+
date: 2009-10-21 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|