From 9a5e7aaa35962994e758cdaa15e0925e1bfc39e4 Mon Sep 17 00:00:00 2001 From: gebele Date: Mon, 12 Jan 2015 14:56:22 +0100 Subject: fixed typo and line break --- views/prediction.haml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/views/prediction.haml b/views/prediction.haml index dfc7009..0bd0ea9 100644 --- a/views/prediction.haml +++ b/views/prediction.haml @@ -90,8 +90,9 @@ Please keep in mind that predictions are based on the measured activities of neighbors. - @cv = OpenTox::Validation.find @prediction_models[count].metadata[RDF::OT.crossValidation][0]+"/statistics" unless @prediction_models[count].title.include?("Mutagenicity") - unless @model_type[count] == "regression" + %br %b - = "Probalitity: " + = "Probability: " - unless result == "No prediction result." or confidence == "--" = "#{@cv.probabilities( confidence, result )[:probs][result].round(3)*100} %" %p -- cgit v1.2.3