summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2011-12-07 10:14:12 +0100
committerAndreas Maunz <andreas@maunz.de>2011-12-07 10:14:12 +0100
commit1080def0b1a7a96a29759468f571e4c725034328 (patch)
treec7f8fe851e0e3915c9c821fb9bfe7b27bc63e62b
parente61c8c49ec3846bcec3351531616225df4856c7f (diff)
Adjusted test for feature selection fixpc3
-rw-r--r--lazar.rb2
1 files changed, 1 insertions, 1 deletions
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