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:
authorHal Daume III <me@hal3.name>2014-07-23 17:34:23 +0400
committerHal Daume III <me@hal3.name>2014-07-23 17:34:23 +0400
commitfd1f022940267aa74c3910c2ab4cc3f0a046408e (patch)
tree5aa54468c129829e3fcaa404aa01d7178c99048a
parente9ff4d9904bfca3261b59bbfc5414944bcdebc74 (diff)
minor tweaks
-rw-r--r--library/train.wbin349 -> 0 bytes
-rw-r--r--vowpalwabbit/csoaa.cc7
-rw-r--r--vowpalwabbit/parse_args.cc1
3 files changed, 7 insertions, 1 deletions
diff --git a/library/train.w b/library/train.w
deleted file mode 100644
index 02f74c42..00000000
--- a/library/train.w
+++ /dev/null
Binary files differ
diff --git a/vowpalwabbit/csoaa.cc b/vowpalwabbit/csoaa.cc
index f78a84a0..cf04ab61 100644
--- a/vowpalwabbit/csoaa.cc
+++ b/vowpalwabbit/csoaa.cc
@@ -725,6 +725,13 @@ namespace LabelDict {
learner* setup(vw& all, po::variables_map& vm)
{
+ po::options_description ldf_opts("LDF Options");
+ ldf_opts.add_options()
+ ("ldf_override", po::value<string>(), "Override singleline or multiline from csoaa_ldf or wap_ldf, eg if stored in file")
+ ;
+
+ vm = add_options(all, ldf_opts);
+
ldf* ld = (ldf*)calloc_or_die(1, sizeof(ldf));
ld->all = &all;
diff --git a/vowpalwabbit/parse_args.cc b/vowpalwabbit/parse_args.cc
index b33d2661..7c71dc37 100644
--- a/vowpalwabbit/parse_args.cc
+++ b/vowpalwabbit/parse_args.cc
@@ -747,7 +747,6 @@ void parse_score_users(vw& all, po::variables_map& vm, bool& got_cs)
("wap", po::value<size_t>(), "Use weighted all-pairs multiclass learning with <k> costs")
("csoaa_ldf", po::value<string>(), "Use one-against-all multiclass learning with label dependent features. Specify singleline or multiline.")
("wap_ldf", po::value<string>(), "Use weighted all-pairs multiclass learning with label dependent features. Specify singleline or multiline.")
- ("ldf_override", po::value<string>(), "Override singleline or multiline from csoaa_ldf or wap_ldf, eg if stored in file")
;
vm = add_options(all, multiclass_opt);