summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2015-03-12 10:53:06 +0100
committergebele <gebele@in-silico.ch>2015-03-12 10:53:06 +0100
commit576192b2ad742b56d301b817f82ab7265bd0bf46 (patch)
tree0937e4ca6f27f6d375e5a1a56c2ae8eac6571ae8
parented6864d4fb2e597dcdfdac179dd4645e52c30bae (diff)
fixed probability round
-rw-r--r--views/prediction.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/prediction.haml b/views/prediction.haml
index 6ae2b7c..5dda31e 100644
--- a/views/prediction.haml
+++ b/views/prediction.haml
@@ -102,7 +102,7 @@
= "Probability: "
- unless result == "No prediction result." or confidence == "--"
- prob = @cv.probabilities( confidence, result )[:probs][result]*100
- = "#{prob.round(3)} %"
+ = "#{prob.round(1)} %"
%p
.confidence
%b Confidence: