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:
Diffstat (limited to 'vowpalwabbit/global_data.h')
-rw-r--r--vowpalwabbit/global_data.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/vowpalwabbit/global_data.h b/vowpalwabbit/global_data.h
index dd8567a8..bdf76b46 100644
--- a/vowpalwabbit/global_data.h
+++ b/vowpalwabbit/global_data.h
@@ -154,7 +154,6 @@ struct shared_data {
double holdout_sum_loss_since_last_pass;
size_t holdout_best_pass;
- bool binary_label;
uint32_t k;
};
@@ -170,9 +169,9 @@ struct vw {
node_socks socks;
- LEARNER::learner* l;//the top level learner
- LEARNER::learner* scorer;//a scoring function
- LEARNER::learner* cost_sensitive;//a cost sensitive learning algorithm.
+ LEARNER::base_learner* l;//the top level learner
+ LEARNER::base_learner* scorer;//a scoring function
+ LEARNER::base_learner* cost_sensitive;//a cost sensitive learning algorithm.
void learn(example*);
@@ -197,9 +196,10 @@ struct vw {
int m;
bool save_resume;
+ double normalized_sum_norm_x;
po::options_description opts;
- std::string file_options;
+ std::stringstream* file_options;
vector<std::string> args;
void* /*Search::search*/ searchstr;