diff options
author | Christoph Helma <helma@in-silico.ch> | 2016-02-29 08:59:43 +0100 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2016-02-29 08:59:43 +0100 |
commit | 72f6cd966a249859e009a0db5f7b089aad1d6511 (patch) | |
tree | 8668abfd8e5cefdee9565b184b3ea63dd5e9491f /test/lazar-regression.rb | |
parent | d0c6234fed7d45227fcf9309cb6dc0854d17e647 (diff) |
regression crossvalidation fixed
Diffstat (limited to 'test/lazar-regression.rb')
-rw-r--r-- | test/lazar-regression.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lazar-regression.rb b/test/lazar-regression.rb index 932b91c..ae8f725 100644 --- a/test/lazar-regression.rb +++ b/test/lazar-regression.rb @@ -42,7 +42,7 @@ class LazarRegressionTest < MiniTest::Test prediction = model.predict compound model.update(:prediction_algorithm => "OpenTox::Algorithm::Regression.local_pls_regression") prediction = model.predict compound - p prediction + # TODO assertions #assert_equal 13.6, prediction[:value].round(1) #assert_equal 0.83, prediction[:confidence].round(2) #assert_equal 1, prediction[:neighbors].size |