diff options
author | Christoph Helma <helma@in-silico.ch> | 2016-07-21 17:35:20 +0200 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2016-07-21 17:35:20 +0200 |
commit | f93aad7227c7bb3702fd28aab2d289f1ca9ce7e9 (patch) | |
tree | d4ed329ac76608734ab753f15299383c8255349c /lib/validation-statistics.rb | |
parent | 0f31c884d1bcfa448a1bf43a41d8fd6cf88bfc52 (diff) |
correlation plot fixed
Diffstat (limited to 'lib/validation-statistics.rb')
-rw-r--r-- | lib/validation-statistics.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/validation-statistics.rb b/lib/validation-statistics.rb index 9aa9cff..3582c71 100644 --- a/lib/validation-statistics.rb +++ b/lib/validation-statistics.rb @@ -143,8 +143,8 @@ module OpenTox y = [] feature = Feature.find(predictions.first.last["prediction_feature_id"]) predictions.each do |sid,p| - x << p["value"] - y << p["measurements"].median + x << p["measurements"].median + y << p["value"] end R.assign "measurement", x R.assign "prediction", y |