From 1080def0b1a7a96a29759468f571e4c725034328 Mon Sep 17 00:00:00 2001 From: Andreas Maunz Date: Wed, 7 Dec 2011 10:14:12 +0100 Subject: Adjusted test for feature selection fix --- lazar.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lazar.rb b/lazar.rb index b7f566f..3780c41 100644 --- a/lazar.rb +++ b/lazar.rb @@ -117,7 +117,7 @@ class LazarTest < Test::Unit::TestCase create_model :dataset_uri => @@regression_training_dataset.uri, :prediction_algorithm => "local_mlr_prop", :pc_type => "electronic", :max_perc_neighbors => "5" predict_compound OpenTox::Compound.from_smiles("c1ccccc1NN") assert_equal 0.76, @predictions.first.confidence(@compounds.first).round_to(2) - assert_equal 0.57, @predictions.first.value(@compounds.first).round_to(2) + assert_equal 0.56, @predictions.first.value(@compounds.first).round_to(2) assert_equal 24, @predictions.first.neighbors(@compounds.first).size assert_equal 131, @model.features.size end -- cgit v1.2.3