summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorgebele <gebele@alfadeo.de>2011-08-22 12:49:09 +0200
committergebele <gebele@alfadeo.de>2011-08-22 12:49:09 +0200
commit7947128ea346ef96aa703fc5070bd9b00588d425 (patch)
tree5bf1673dae40f6d32a523bcd16f76d9808b1fd40 /views
parentb68548f0c56b6384cd7e7f3c5463ec4d6a4afeec (diff)
merge from development -> lazar-gui
Diffstat (limited to 'views')
-rw-r--r--views/classification_validation.haml4
-rw-r--r--views/help.haml28
-rw-r--r--views/model.haml4
3 files changed, 18 insertions, 18 deletions
diff --git a/views/classification_validation.haml b/views/classification_validation.haml
index f25a321..9f5c2c9 100644
--- a/views/classification_validation.haml
+++ b/views/classification_validation.haml
@@ -3,9 +3,9 @@
= sprintf("%.2f", model.correct_predictions.to_f) if model.correct_predictions
= '%'
%dt
- %a{:href => "http://en.wikipedia.org/wiki/Receiver_operating_characteristic", :rel => "external"} Weighted area under ROC:
+ %a{:href => "http://en.wikipedia.org/wiki/Receiver_operating_characteristic", :rel => "external"} Average area under ROC:
%dd
- = sprintf("%.3f", model.weighted_area_under_roc.to_f) if model.weighted_area_under_roc
+ = sprintf("%.3f", model.average_area_under_roc.to_f) if model.average_area_under_roc
%dt
%a{:href => "http://en.wikipedia.org/wiki/Sensitivity_and_specificity", :rel => "external"} Specificity:
%dd= sprintf("%.3f", model.specificity.to_f) if model.specificity
diff --git a/views/help.haml b/views/help.haml
index 2b39d6c..f602dff 100644
--- a/views/help.haml
+++ b/views/help.haml
@@ -87,13 +87,13 @@
%p
Excel examples for download:
- %ul
- %li
- = link_to "hamster_carcinogenicity.xls", "/hamster_carcinogenicity.xls"
- (classification)
- %li
- = link_to "EPAFHM.xls", "/EPAFHM.xls"
- (regression)
+%ul
+ %li
+ = link_to "hamster_carcinogenicity.xls", "/hamster_carcinogenicity.xls"
+ (classification)
+ %li
+ = link_to "EPAFHM.xls", "/EPAFHM.xls"
+ (regression)
%h3 CSV example
@@ -113,13 +113,13 @@
%p
CSV examples for download:
- %ul
- %li
- = link_to "hamster_carcinogenicity.csv", "/hamster_carcinogenicity.csv"
- (classification)
- %li
- = link_to "EPAFHM.csv", "/EPAFHM.csv"
- (regression)
+%ul
+ %li
+ = link_to "hamster_carcinogenicity.csv", "/hamster_carcinogenicity.csv"
+ (classification)
+ %li
+ = link_to "EPAFHM.csv", "/EPAFHM.csv"
+ (regression)
%p You can create CSV files in Excel: Create a sheet with two columns and export them as CSV file with the "Save As" option from the menu, selecting the CSV (comma delimited) format.
diff --git a/views/model.haml b/views/model.haml
index 899bb6a..266fe19 100644
--- a/views/model.haml
+++ b/views/model.haml
@@ -24,7 +24,7 @@
#{js}
});
- %div{:id => "model_#{model.id}_progress", :class => "model_progress", :title => "#{percentage_completed}%", :alt => "#{percentage_completed}%"}
+ %div{:id => "model_#{model.id}_progress", :class => "model_progress", :title => "#{percentage_completed}%"}
//= haml :model_progress, :locals=>{:percentage_completed=>percentage_completed}, :layout => false
%span
@@ -41,7 +41,7 @@
- if CONFIG[:logger]=="debug"
%dt Task:
%dd
- %a{:href => "#{model.task_uri}", :rel => "external"}
+ %a{:href => "#{model.task_uri}", :id => "model_#{model.id}_task_link", :rel => "external"}
= model.task_uri
- if model.warnings
%dt Warnings: