diff options
author | gebele <gebele@in-silico.ch> | 2015-03-12 10:53:06 +0100 |
---|---|---|
committer | gebele <gebele@in-silico.ch> | 2015-03-12 10:53:06 +0100 |
commit | 576192b2ad742b56d301b817f82ab7265bd0bf46 (patch) | |
tree | 0937e4ca6f27f6d375e5a1a56c2ae8eac6571ae8 /views/prediction.haml | |
parent | ed6864d4fb2e597dcdfdac179dd4645e52c30bae (diff) |
fixed probability round
Diffstat (limited to 'views/prediction.haml')
-rw-r--r-- | views/prediction.haml | 2 |
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: |