diff options
author | John Langford <jl@hunch.net> | 2013-03-20 17:58:26 +0400 |
---|---|---|
committer | John Langford <jl@hunch.net> | 2013-03-20 17:58:26 +0400 |
commit | d47af73d45437d26374ec2eba96496d0cec44bd4 (patch) | |
tree | d70485be1895e0ea4130226b9f25cabc1f97d167 /vowpalwabbit/cb.h | |
parent | 5d8a15985ecac279e8b08e49cc3e9af5b2af3a68 (diff) |
make learner initialization functional
Diffstat (limited to 'vowpalwabbit/cb.h')
-rw-r--r-- | vowpalwabbit/cb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vowpalwabbit/cb.h b/vowpalwabbit/cb.h index 6ed4ea2e..e2f60382 100644 --- a/vowpalwabbit/cb.h +++ b/vowpalwabbit/cb.h @@ -32,7 +32,7 @@ namespace CB { v_array<cb_class> costs; }; - void setup(vw& all, std::vector<std::string>&, po::variables_map& vm, po::variables_map& vm_file); + learner setup(vw& all, std::vector<std::string>&, po::variables_map& vm, po::variables_map& vm_file); size_t read_cached_label(shared_data* sd, void* v, io_buf& cache); void cache_label(void* v, io_buf& cache); |