Skip to content

Commit

Permalink
vw-hypersearch: add support for --lrq ab<N>
Browse files Browse the repository at this point in the history
  • Loading branch information
ariel faigon committed Jul 12, 2014
1 parent f5b3140 commit 52378a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utl/vw-hypersearch
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,7 @@ sub is_integer_option($) {
|holdout_(?:period|after)
|initial_pass_length
|lda
|lrq
|nn
|oaa
|ect
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 52378a9

Please sign in to comment.