Vowpal Wabbit
|
#include "best_constant.h"
Go to the source code of this file.
Functions | |
bool | get_best_constant (vw &all, float &best_constant, float &best_constant_loss) |
bool get_best_constant | ( | vw & | all, |
float & | best_constant, | ||
float & | best_constant_loss | ||
) |
Definition at line 3 of file best_constant.cc.
References shared_data::first_observed_label, VW::config::options_i::get_typed_option(), loss_function::getLoss(), loss_function::getType(), shared_data::is_more_than_two_labels_observed, vw::loss, vw::options, vw::sd, shared_data::second_observed_label, VW::config::options_i::was_supplied(), shared_data::weighted_labeled_examples, and shared_data::weighted_labels.
Referenced by count_label(), and VW::finish().