summaryrefslogtreecommitdiff
path: root/views/model_details.haml
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2016-03-24 19:41:37 +0000
committergebele <gebele@in-silico.ch>2016-03-24 19:41:37 +0000
commit510822b13d48344ffe4e047a4415ebdb218dadc0 (patch)
tree8b3d4bf8017a325e10647b3f7be64d7c48403d36 /views/model_details.haml
parent9eb9fd8ab470d6c44c70e0af0808204bdda2b161 (diff)
updated for latest lazar changes; introduced 95% prediction interval
Diffstat (limited to 'views/model_details.haml')
-rw-r--r--views/model_details.haml29
1 files changed, 10 insertions, 19 deletions
diff --git a/views/model_details.haml b/views/model_details.haml
index 04cc0f0..34e86ac 100644
--- a/views/model_details.haml
+++ b/views/model_details.haml
@@ -36,9 +36,6 @@ Source:
= "Accuracy:\t"
= cv.accuracy.round(3) if cv.accuracy
%br
- = "Weighted Accuracy:\t"
- = cv.weighted_accuracy.round(3) if cv.weighted_accuracy
- %br
= "True positive rate:\t"
= cv.true_rate["active"].round(3) if cv.true_rate["active"]
%br
@@ -97,32 +94,26 @@ Source:
-#= "Confusion Matrix:\t"
-#= cv.confusion_matrix
%br
- = "Confidence plot:"
- %p.plot
- %img{:src=>"confp#{cv.id}.png"}
+ /= "Confidence plot:"
+ /%p.plot
+ / %img{:src=>"confp#{cv.id}.svg"}
- if model.regression?
%br
= "Root mean squared error:\t"
= cv.rmse.round(3) if cv.rmse
%br
- = "Weighted root mean squared error:\t"
- = cv.weighted_rmse.round(3) if cv.weighted_rmse
- %br
= "Mean absolute error:\t"
= cv.mae.round(3) if cv.mae
- %br
- = "Weighted mean absolute error:\t"
- = cv.weighted_mae.round(3) if cv.weighted_mae
%br
= "R square:\t"
= cv.r_squared.round(3) if cv.r_squared
%br
- = "Confidence plot:"
- %p.plot
- %img{:src=>"/confp#{cv.id}.png"}
- %br
- = "Correlation plot"
- %p.plot
- %img{:src=>"/corrp#{cv.id}.png"}
+ /= "Confidence plot:"
+ /%p.plot
+ / %img{:src=>"/confp#{cv.id}.svg"}
+ /%br
+ /= "Correlation plot"
+ /%p.plot
+ / %img{:src=>"/corrp#{cv.id}.svg"}
%br