diff options
Diffstat (limited to 'views')
-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 aeaafdc..f99df75 100644 --- a/views/prediction.haml +++ b/views/prediction.haml @@ -53,7 +53,7 @@ / TODO probability - if type == "Regression" %b 95% Prediction interval: - - interval = prediction[:prediction_interval].collect{|i| i.round(2)} + - interval = prediction[:prediction_interval].nil? ? "[ - - ]" : prediction[:prediction_interval].collect{|i| i.round(2)} = interval - else %b Confidence: |