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