diff options
author | Christoph Helma <helma@in-silico.ch> | 2015-11-04 17:50:17 +0100 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2015-11-04 17:50:17 +0100 |
commit | ca2bb0f90335b1f2c4ecc28ee423e85b281ffcf0 (patch) | |
tree | 71f823d08e0799b8ebb59713f06f646888135cd7 /test/lazar-regression.rb | |
parent | 61fda66b5bc86e600b27f9a2c2eaea97603fbb92 (diff) |
neighbor search delegated to database backend
Diffstat (limited to 'test/lazar-regression.rb')
-rw-r--r-- | test/lazar-regression.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lazar-regression.rb b/test/lazar-regression.rb index 4f5a332..c1dc9b9 100644 --- a/test/lazar-regression.rb +++ b/test/lazar-regression.rb @@ -8,7 +8,7 @@ class LazarRegressionTest < MiniTest::Test compound = Compound.from_smiles "CC(C)(C)CN" prediction = model.predict compound assert_equal 7.2, prediction[:value].round(1) - assert_equal 91, prediction[:neighbors].size + assert_equal 88, prediction[:neighbors].size end def test_mpd_fingerprints @@ -17,7 +17,7 @@ class LazarRegressionTest < MiniTest::Test model.neighbor_algorithm_parameters[:type] = "MP2D" compound = Compound.from_smiles "CCCSCCSCC" prediction = model.predict compound - assert_equal 0.02, prediction[:value].round(2) + assert_equal 0.04, prediction[:value].round(2) assert_equal 3, prediction[:neighbors].size end |