diff options
Diffstat (limited to 'vowpalwabbit/gd.h')
-rw-r--r-- | vowpalwabbit/gd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vowpalwabbit/gd.h b/vowpalwabbit/gd.h index 05bd5b5d..de3964eb 100644 --- a/vowpalwabbit/gd.h +++ b/vowpalwabbit/gd.h @@ -24,8 +24,9 @@ namespace GD{ void compute_update(example* ec); void offset_train(regressor ®, example* &ec, float update, size_t offset); void train_one_example_single_thread(regressor& r, example* ex); - LEARNER::learner* setup(vw& all, po::variables_map& vm); + LEARNER::base_learner* setup(vw& all, po::variables_map& vm); void save_load_regressor(vw& all, io_buf& model_file, bool read, bool text); + void save_load_online_state(vw& all, io_buf& model_file, bool read, bool text); void output_and_account_example(example* ec); // iterate through one namespace (or its part), callback function T(some_data_R, feature_value_x, feature_weight) |