summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2011-12-07 09:51:52 +0100
committerAndreas Maunz <andreas@maunz.de>2011-12-07 09:51:52 +0100
commite61c8c49ec3846bcec3351531616225df4856c7f (patch)
tree666a8099926cc05fbef5ba7c51d1ee67bdd3a0d5
parentc3d269965d8eae3b043c967959b14377a03125d5 (diff)
Adjusted Test for first version of MLR with feature selection
-rw-r--r--lazar.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lazar.rb b/lazar.rb
index 9200fb7..b7f566f 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.59, @predictions.first.value(@compounds.first).round_to(2)
+ assert_equal 0.57, @predictions.first.value(@compounds.first).round_to(2)
assert_equal 24, @predictions.first.neighbors(@compounds.first).size
assert_equal 131, @model.features.size
end