From 23ecfc6fa5ae4913e5cd17b7d58432d1f88d780c Mon Sep 17 00:00:00 2001 From: Christoph Helma Date: Mon, 10 Aug 2015 09:48:57 +0200 Subject: transfer to new git project started --- test/setup.rb | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/setup.rb (limited to 'test/setup.rb') diff --git a/test/setup.rb b/test/setup.rb new file mode 100644 index 0000000..379fa53 --- /dev/null +++ b/test/setup.rb @@ -0,0 +1,6 @@ +require 'minitest/autorun' +require_relative '../lib/lazar.rb' +include OpenTox +TEST_DIR ||= File.expand_path(File.dirname(__FILE__)) +DATA_DIR ||= File.join(TEST_DIR,"data") +#$mongo.database.drop -- cgit v1.2.3 From 8c6c59980bc82dc2177147f2fe34adf8bfbc1539 Mon Sep 17 00:00:00 2001 From: Christoph Helma Date: Mon, 24 Aug 2015 12:17:07 +0200 Subject: Model::Prediction with tests, initial indexes --- test/setup.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/setup.rb') diff --git a/test/setup.rb b/test/setup.rb index 379fa53..538853d 100644 --- a/test/setup.rb +++ b/test/setup.rb @@ -3,4 +3,5 @@ require_relative '../lib/lazar.rb' include OpenTox TEST_DIR ||= File.expand_path(File.dirname(__FILE__)) DATA_DIR ||= File.join(TEST_DIR,"data") -#$mongo.database.drop +$mongo.database.drop +$gridfs = $mongo.database.fs # recreate GridFS indexes -- cgit v1.2.3 From f8faf510b4574df1a00fa61a9f0a1681fc2f4857 Mon Sep 17 00:00:00 2001 From: Christoph Helma Date: Tue, 25 Aug 2015 17:20:55 +0200 Subject: Experiments added --- test/setup.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/setup.rb') diff --git a/test/setup.rb b/test/setup.rb index 538853d..3dad683 100644 --- a/test/setup.rb +++ b/test/setup.rb @@ -3,5 +3,5 @@ require_relative '../lib/lazar.rb' include OpenTox TEST_DIR ||= File.expand_path(File.dirname(__FILE__)) DATA_DIR ||= File.join(TEST_DIR,"data") -$mongo.database.drop -$gridfs = $mongo.database.fs # recreate GridFS indexes +#$mongo.database.drop +#$gridfs = $mongo.database.fs # recreate GridFS indexes -- cgit v1.2.3 From 6bde559981fa11ffd265af708956f9d4ee6c9a89 Mon Sep 17 00:00:00 2001 From: Christoph Helma Date: Thu, 8 Oct 2015 10:32:31 +0200 Subject: crossvalidation plots, original classification confidence --- test/setup.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test/setup.rb') diff --git a/test/setup.rb b/test/setup.rb index 3dad683..ba1b7af 100644 --- a/test/setup.rb +++ b/test/setup.rb @@ -3,5 +3,7 @@ require_relative '../lib/lazar.rb' include OpenTox TEST_DIR ||= File.expand_path(File.dirname(__FILE__)) DATA_DIR ||= File.join(TEST_DIR,"data") +Mongoid.configure.connect_to("test") +$mongo = Mongo::Client.new('mongodb://127.0.0.1:27017/test') #$mongo.database.drop -#$gridfs = $mongo.database.fs # recreate GridFS indexes +$gridfs = $mongo.database.fs -- cgit v1.2.3