diff options
author | rautenberg <rautenberg@in-silico.ch> | 2012-07-13 09:58:10 +0200 |
---|---|---|
committer | rautenberg <rautenberg@in-silico.ch> | 2012-07-13 09:58:10 +0200 |
commit | 9bfa9a593d03375d75663abe3aa9ef33b0163702 (patch) | |
tree | 0d5e7d18133c11e358508b906fb17d87e6612902 /test/test_examples.rb | |
parent | d8e60fb30142268a61d06a8fb420d7397c4b0dd8 (diff) | |
parent | 42ef331a9127f44559cdfad1d58dea69faed1168 (diff) |
Diffstat (limited to 'test/test_examples.rb')
-rwxr-xr-x | test/test_examples.rb | 18 |
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 ], } |