diff options
author | Andreas Maunz <andreas@maunz.de> | 2011-12-07 10:14:12 +0100 |
---|---|---|
committer | Andreas Maunz <andreas@maunz.de> | 2011-12-07 10:14:12 +0100 |
commit | 1080def0b1a7a96a29759468f571e4c725034328 (patch) | |
tree | c7f8fe851e0e3915c9c821fb9bfe7b27bc63e62b | |
parent | e61c8c49ec3846bcec3351531616225df4856c7f (diff) |
Adjusted test for feature selection fixpc3
-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.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 |