diff options
author | Christoph Helma <helma@in-silico.ch> | 2010-07-02 12:40:02 +0200 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2010-07-02 12:40:02 +0200 |
commit | 258e55e5cbd1355a30dad6bbe2a2638609db9a18 (patch) | |
tree | 9c8d60afd594ef7a13e4fd01593737826befcf85 /views/prediction.haml | |
parent | 80cb52f477870bd78b0f92e69650872da56fb1a5 (diff) |
regression validation (partially) working
Diffstat (limited to 'views/prediction.haml')
-rw-r--r-- | views/prediction.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/prediction.haml b/views/prediction.haml index 993c966..96385ef 100644 --- a/views/prediction.haml +++ b/views/prediction.haml @@ -41,12 +41,12 @@ = activity(p[:prediction]) - else %br - %em= p[:prediction] + %em= sprintf('%.03g', p[:prediction]) - if p[:confidence] %br ( %a{:href => "#", :id => "linkConfidence#{p.object_id}"} Confidence - = ": #{sprintf('%.03f', p[:confidence].to_f.abs)}" + = ": #{sprintf('%.03g', p[:confidence].to_f.abs)}" :javascript $("a#linkConfidence#{p.object_id}").click(function () { $("dl#confidence").toggle(); |