diff options
author | Christoph Helma <helma@in-silico.ch> | 2010-07-02 17:50:43 +0200 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2010-07-02 17:50:43 +0200 |
commit | 6b8b0a161f492f15c33d4f18e50b604e0fd547bc (patch) | |
tree | 09ac1eb87447abfa69ce446eef5ad930d4b2dc91 /views/model.haml | |
parent | 258e55e5cbd1355a30dad6bbe2a2638609db9a18 (diff) |
Initial regression validation display
Diffstat (limited to 'views/model.haml')
-rw-r--r-- | views/model.haml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/views/model.haml b/views/model.haml index e336de6..234dcc6 100644 --- a/views/model.haml +++ b/views/model.haml @@ -32,7 +32,6 @@ %dt Algorithm: %dd %a{:href => "http://www.in-silico.de/articles/modi020905.pdf"} #{File.basename model.algorithm} - -# %a{:href => model.algorithm} RDF/XML %dt Type: %dd= model.type %dt Descriptors: @@ -58,5 +57,9 @@ , %a{:href => "#{model.uri}.yaml"} YAML %em (experts, models cannot be exported in Excel) - = haml :model_validation, :locals=>{:model=>model}, :layout => false + - case model.type + - when "classification" + = haml :classification_validation, :locals=>{:model=>model}, :layout => false + -when "regression" + = haml :regression_validation, :locals=>{:model=>model}, :layout => false |