Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/vowpal_wabbit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn <jl@hunch.net>2014-07-12 05:52:32 +0400
committerJohn <jl@hunch.net>2014-07-12 05:52:32 +0400
commit71c11e2016bfdd2b7254b83f49bb4cfe86e64a85 (patch)
treef1de2f07d6b2ec55c281fda822ac096e39f621fe
parentc552fc7db1bd80d0c1aba52e292a92506b8ff1b8 (diff)
parent0007de7507e23635fd2b7d0062121ca1ebac41a7 (diff)
Merge pull request #340 from arielf/master
Additions of newer options to vw-hypersearch
-rwxr-xr-xutl/vw-hypersearch9
-rw-r--r--vowpalwabbit/searn_entityrelationtask.cc3
2 files changed, 9 insertions, 3 deletions
diff --git a/utl/vw-hypersearch b/utl/vw-hypersearch
index eece72e1..0946b2ef 100755
--- a/utl/vw-hypersearch
+++ b/utl/vw-hypersearch
@@ -463,14 +463,17 @@ sub is_integer_option($) {
my $expects_integer =
($opt =~ qr{^-*
bs?
+ |autolink
|batch_sz
|bootstrap|B
|(?:csoaa|wap)(?:_ldf)?
- |cb
+ |cb(?:ify)?
|num_children
|holdout_(?:period|after)
|initial_pass_length
|lda
+ |log_multi
+ |lrq
|nn
|oaa
|ect
@@ -479,7 +482,9 @@ sub is_integer_option($) {
|ring_size
|examples
|searn
+ |search
|total
+ |top
|ngram
|skips
$}x);
@@ -535,7 +540,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
diff --git a/vowpalwabbit/searn_entityrelationtask.cc b/vowpalwabbit/searn_entityrelationtask.cc
index 7a32f594..fcffc37b 100644
--- a/vowpalwabbit/searn_entityrelationtask.cc
+++ b/vowpalwabbit/searn_entityrelationtask.cc
@@ -283,4 +283,5 @@ namespace EntityRelationTask {
}
delete hinfo;
}
-} \ No newline at end of file
+}
+