From c03f111ae6eac7b5b6ac2ad4635603eededcb6a3 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Thu, 17 Dec 2015 15:41:45 +0100 Subject: fix oov bug, better/fixed known rule handling --- views/debug.haml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'views/debug.haml') diff --git a/views/debug.haml b/views/debug.haml index 2a0773d..e7b6a7b 100644 --- a/views/debug.haml +++ b/views/debug.haml @@ -42,7 +42,7 @@ %li %a.ajax{:tgt => "/shutdown", :href => "#controls"} Initiate shutdown %h3 Learning rate - %p Default for dense features: 0.001, for sparse features: 1.0e-05 + %p Default for dense features: 1.0e-05, for sparse features: 1.0e-05 %select - [1000,100,10,1,0.1,0.01,0.001,0.0001,0.00001,0.000001,0.0000001,0.00000001,0.000000001,0.0000000001].each do |i| %option.ajax{:value => i, :tgt => "/set_learning_rate/#{i}"} #{i} @@ -120,7 +120,7 @@ %h2#rules New & known rules %pre #{additional_rules.join("\n")} %h3 - Rejected [known] rules + Known rules %pre #{rejected_rules.join("\n")} %p %a{ :href => "#" } ^ up @@ -148,6 +148,9 @@ - if [9,89].include? j %hr %h3 Weight updates + %p Raw update: #{pairwise_ranking_data["update_raw"]} + /=%p Update (learning rates applied):
#{pairwise_ranking_data["update"]}
+ /=- "#{pairwise_ranking_data["update"]}" %table %tr %th Feature -- cgit v1.2.3