summaryrefslogtreecommitdiff
path: root/test/test_examples.rb
diff options
context:
space:
mode:
authorrautenberg <rautenberg@in-silico.ch>2012-07-13 09:58:10 +0200
committerrautenberg <rautenberg@in-silico.ch>2012-07-13 09:58:10 +0200
commit9bfa9a593d03375d75663abe3aa9ef33b0163702 (patch)
tree0d5e7d18133c11e358508b906fb17d87e6612902 /test/test_examples.rb
parentd8e60fb30142268a61d06a8fb420d7397c4b0dd8 (diff)
parent42ef331a9127f44559cdfad1d58dea69faed1168 (diff)
Merge branch 'release/v3.2.0'HEADv4.0.0master
Diffstat (limited to 'test/test_examples.rb')
-rwxr-xr-xtest/test_examples.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/test_examples.rb b/test/test_examples.rb
index f3c0b7e..2b95cf2 100755
--- a/test/test_examples.rb
+++ b/test/test_examples.rb
@@ -274,6 +274,22 @@ module ValidationExamples
end
end
+ ########################################################################################################
+
+ class HamsterLooCrossvalidation < LooCrossValidation
+ def initialize
+ @dataset_file = File.new("data/hamster_carcinogenicity.csv","r")
+ end
+ end
+
+ class LazarHamsterLooCrossvalidation < HamsterLooCrossvalidation
+ def initialize
+ @algorithm_uri = File.join(CONFIG[:services]["opentox-algorithm"],"lazar")
+ @algorithm_params = "feature_generation_uri="+File.join(CONFIG[:services]["opentox-algorithm"],"fminer/bbrc")
+ super
+ end
+ end
+
########################################################################################################
class LazarHamsterMiniCrossvalidation < CrossValidation
@@ -828,6 +844,8 @@ module ValidationExamples
"22e" => [ AmbitVsNtuaTrainingTest ],
"22f" => [ AnotherAmbitJ48TrainingTest ],
"22g" => [ TumTrainingTest ],
+
+ "23a" => [ LazarHamsterLooCrossvalidation ],
}