diff options
author | John Langford <jl@hunch.net> | 2011-06-19 06:33:47 +0400 |
---|---|---|
committer | John Langford <jl@hunch.net> | 2011-06-19 06:33:47 +0400 |
commit | 3d960b00cced453c65c1954d44ce276907bc9f21 (patch) | |
tree | 9195ba09d605061da3fa2db2726459a5d511acfb /parse_args.cc | |
parent | b7944093363d409b15939f073ae39b89f6820e63 (diff) |
almost there
Diffstat (limited to 'parse_args.cc')
-rw-r--r-- | parse_args.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/parse_args.cc b/parse_args.cc index 37a13631..7b57fe8c 100644 --- a/parse_args.cc +++ b/parse_args.cc @@ -68,6 +68,7 @@ po::variables_map parse_args(int argc, char *argv[], boost::program_options::opt ("initial_regressor,i", po::value< vector<string> >(), "Initial regressor(s)") ("initial_pass_length", po::value<size_t>(&global.pass_length)->default_value((size_t)-1), "initial number of examples per pass") ("initial_t", po::value<float>(&(par->t))->default_value(1.), "initial t value") + ("l1", po::value<float>(&global.l_1_regularization)->default_value(0.), "l_1 regularization level") ("lda", po::value<size_t>(&global.lda), "Run lda with <int> topics") ("lda_alpha", po::value<float>(&global.lda_alpha)->default_value(0.1), "Prior on sparsity of per-document topic weights") ("lda_rho", po::value<float>(&global.lda_rho)->default_value(0.1), "Prior on sparsity of topic distributions") |