diff options
author | helma@in-silico.ch <helma@in-silico.ch> | 2018-11-02 20:34:44 +0100 |
---|---|---|
committer | helma@in-silico.ch <helma@in-silico.ch> | 2018-11-02 20:34:44 +0100 |
commit | 3a9c9332b660d35720ad4fa1f55ee0883e53aecd (patch) | |
tree | 0c4b552ba434c4e03ea6e7808ead5a2d4ecb4cec /lib/regression.rb | |
parent | 5b08a8c6d8e5567d253bec92d5bf5d18fd040cdc (diff) |
warnings fixed, cleanup
Diffstat (limited to 'lib/regression.rb')
-rw-r--r-- | lib/regression.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/regression.rb b/lib/regression.rb index 25c0732..fd2855f 100644 --- a/lib/regression.rb +++ b/lib/regression.rb @@ -17,7 +17,7 @@ module OpenTox sim_sum += weights[i] end if dependent_variables sim_sum == 0 ? prediction = nil : prediction = weighted_sum/sim_sum - {:value => prediction, :warnings => ["Weighted average prediction, no prediction interval available."]} + {:value => prediction} end end |