blob: b8a6eaa78aedb02967967f4aec19e794c8f711f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
- if model.validation_uri
%dl{:id => "model_validation_#{model.id}"}
%dt
Validation:
%dd
%dl
- if model.validation_report_uri
%dt Detailed report:
%dd
%a{:href => model.validation_report_uri + subjectstring, :target => "_blank"} show
%dt Number of predictions:
%dd= model.nr_predictions.to_s
- case model.type
- when "classification"
= haml :classification_validation, :locals=>{:model=>model}, :layout => false if model.correct_predictions
- when "regression"
= haml :regression_validation, :locals=>{:model=>model}, :layout => false
|