From 4f4f72fdab4982a24eeb66503ed47a5b64245c21 Mon Sep 17 00:00:00 2001 From: gebele Date: Thu, 21 Sep 2017 12:16:32 +0000 Subject: bumped version because added TD50 models and refined qmrf --- views/prediction.haml | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) (limited to 'views') diff --git a/views/prediction.haml b/views/prediction.haml index 9cdedde..bb7c631 100644 --- a/views/prediction.haml +++ b/views/prediction.haml @@ -35,7 +35,10 @@ / show message about dbhit and measurements %p - %b Compound is part of the training dataset + :plain + This compound was part of the training dataset. All information
+ from this compound was removed from the training data before the
+ prediction, to obtain unbiased results. %p %b Measured activity: %br @@ -78,17 +81,17 @@ = "#{prediction[:probabilities].keys[1]}: #{prediction[:probabilities].values[1].signif(3)}" / show warnings and info - %p - - if !prediction[:info].blank? - %b Info: - %br - %p=prediction[:info].sub(/\'.*\'/,"").sub(/,/, ",
") - - if !prediction[:warnings].blank? - %b Warnings: - - prediction[:warnings].uniq.each do |warning| + -#%p + - if !prediction[:info].blank? + %b Info: %br - %p=warning.sub(/,/, ",
") - /%p=warning.sub(/substances/, "substances
").sub(/prediction\:/, "prediction\:
") + %p=prediction[:info].sub(/\'.*\'/,"").sub(/,/, ",
") + - if !prediction[:warnings].blank? + %b Warnings: + - prediction[:warnings].uniq.each do |warning| + %br + %p=warning.sub(/,/, ",
") + /%p=warning.sub(/substances/, "substances
").sub(/prediction\:/, "prediction\:
") - else %br - if !prediction[:info].blank? -- cgit v1.2.3