diff options
author | ariel faigon <github.2009@yendor.com> | 2014-07-12 05:19:06 +0400 |
---|---|---|
committer | ariel faigon <github.2009@yendor.com> | 2014-07-12 05:19:06 +0400 |
commit | 52378a944dfd6973ab20e9c3497d283c11bdcf45 (patch) | |
tree | ad2e498b9ebc45066239ebc1a909692602027a23 | |
parent | f5b3140d20d5ecab2c568d282ee205bb6b34ea2f (diff) |
vw-hypersearch: add support for --lrq ab<N>
-rwxr-xr-x | utl/vw-hypersearch | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utl/vw-hypersearch b/utl/vw-hypersearch index eece72e1..e3585614 100755 --- a/utl/vw-hypersearch +++ b/utl/vw-hypersearch @@ -471,6 +471,7 @@ sub is_integer_option($) { |holdout_(?:period|after) |initial_pass_length |lda + |lrq |nn |oaa |ect @@ -535,7 +536,7 @@ sub process_args { # Some vw option arguments must be integers, if we want to # optimize those, we must bisect while rounding to an integer - my ($option_before_pct) = ($vw_command_line =~ /(\S+)\s+%/); + my ($option_before_pct) = ($vw_command_line =~ /(\S+)\s+\S*%/); $IntegerOpt = is_integer_option($option_before_pct); if ($vw_command_line =~ /--passes/ and |