diff options
author | Andreas Maunz <andreas@maunz.de> | 2011-12-07 09:51:52 +0100 |
---|---|---|
committer | Andreas Maunz <andreas@maunz.de> | 2011-12-07 09:51:52 +0100 |
commit | e61c8c49ec3846bcec3351531616225df4856c7f (patch) | |
tree | 666a8099926cc05fbef5ba7c51d1ee67bdd3a0d5 | |
parent | c3d269965d8eae3b043c967959b14377a03125d5 (diff) |
Adjusted Test for first version of MLR with feature selection
-rw-r--r-- | lazar.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |