#include <shared_data.h>
|
| shared_data () |
|
| ~shared_data () |
|
| shared_data (const shared_data &other) |
|
shared_data & | operator= (const shared_data &other) |
|
| shared_data (shared_data &&other) noexcept |
|
shared_data & | operator= (shared_data &&other) noexcept |
|
double | weighted_examples () const |
|
void | update (bool test_example, bool labeled_example, float loss, float weight, size_t num_features) |
|
void | update_dump_interval () |
|
void | print_update_header (std::ostream &trace_message) |
| progressive validation header More...
|
|
void | print_update (std::ostream &output_stream, bool holdout_set_off, size_t current_pass, float label, float prediction, size_t num_features) |
|
void | print_update (std::ostream &output_stream, bool holdout_set_off, size_t current_pass, uint32_t label, uint32_t prediction, size_t num_features) |
|
void | print_update (std::ostream &output_stream, bool holdout_set_off, size_t current_pass, const std::string &label, uint32_t prediction, size_t num_features) |
|
void | print_update (std::ostream &output_stream, bool holdout_set_off, size_t current_pass, const std::string &label, const std::string &prediction, size_t num_features) |
|
void | print_summary (std::ostream &output, const shared_data &sd, const VW::loss_function &loss_func, uint64_t current_pass, bool holdout_set_off) const |
|
◆ shared_data() [1/3]
VW::shared_data::shared_data |
( |
| ) |
|
◆ ~shared_data()
VW::shared_data::~shared_data |
( |
| ) |
|
◆ shared_data() [2/3]
VW::shared_data::shared_data |
( |
const shared_data & |
other | ) |
|
◆ shared_data() [3/3]
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ print_summary()
void VW::shared_data::print_summary |
( |
std::ostream & |
output, |
|
|
const shared_data & |
sd, |
|
|
const VW::loss_function & |
loss_func, |
|
|
uint64_t |
current_pass, |
|
|
bool |
holdout_set_off |
|
) |
| const |
◆ print_update() [1/4]
void VW::shared_data::print_update |
( |
std::ostream & |
output_stream, |
|
|
bool |
holdout_set_off, |
|
|
size_t |
current_pass, |
|
|
const std::string & |
label, |
|
|
const std::string & |
prediction, |
|
|
size_t |
num_features |
|
) |
| |
◆ print_update() [2/4]
void VW::shared_data::print_update |
( |
std::ostream & |
output_stream, |
|
|
bool |
holdout_set_off, |
|
|
size_t |
current_pass, |
|
|
const std::string & |
label, |
|
|
uint32_t |
prediction, |
|
|
size_t |
num_features |
|
) |
| |
◆ print_update() [3/4]
void VW::shared_data::print_update |
( |
std::ostream & |
output_stream, |
|
|
bool |
holdout_set_off, |
|
|
size_t |
current_pass, |
|
|
float |
label, |
|
|
float |
prediction, |
|
|
size_t |
num_features |
|
) |
| |
◆ print_update() [4/4]
void VW::shared_data::print_update |
( |
std::ostream & |
output_stream, |
|
|
bool |
holdout_set_off, |
|
|
size_t |
current_pass, |
|
|
uint32_t |
label, |
|
|
uint32_t |
prediction, |
|
|
size_t |
num_features |
|
) |
| |
◆ print_update_header()
void VW::shared_data::print_update_header |
( |
std::ostream & |
trace_message | ) |
|
progressive validation header
◆ update()
void VW::shared_data::update |
( |
bool |
test_example, |
|
|
bool |
labeled_example, |
|
|
float |
loss, |
|
|
float |
weight, |
|
|
size_t |
num_features |
|
) |
| |
◆ update_dump_interval()
void VW::shared_data::update_dump_interval |
( |
| ) |
|
◆ weighted_examples()
double VW::shared_data::weighted_examples |
( |
| ) |
const |
◆ contraction
double VW::shared_data::contraction = 1. |
◆ dump_interval
float VW::shared_data::dump_interval = 1. |
◆ example_number
uint64_t VW::shared_data::example_number = 0 |
◆ first_observed_label
float VW::shared_data::first_observed_label = FLT_MAX |
◆ gravity
double VW::shared_data::gravity = 0.0 |
◆ holdout_best_loss
double VW::shared_data::holdout_best_loss = 0.0 |
◆ holdout_best_pass
size_t VW::shared_data::holdout_best_pass = 0 |
◆ holdout_multiclass_log_loss
double VW::shared_data::holdout_multiclass_log_loss = 0.0 |
◆ holdout_sum_loss
double VW::shared_data::holdout_sum_loss = 0.0 |
◆ holdout_sum_loss_since_last_dump
double VW::shared_data::holdout_sum_loss_since_last_dump = 0.0 |
◆ holdout_sum_loss_since_last_pass
double VW::shared_data::holdout_sum_loss_since_last_pass = 0.0 |
◆ is_more_than_two_labels_observed
bool VW::shared_data::is_more_than_two_labels_observed = false |
◆ ldict
◆ max_label
float VW::shared_data::max_label = 0.f |
◆ min_label
float VW::shared_data::min_label = 0.f |
◆ multiclass_log_loss
double VW::shared_data::multiclass_log_loss = 0.0 |
◆ old_weighted_labeled_examples
double VW::shared_data::old_weighted_labeled_examples = 0.0 |
◆ progress_add
bool VW::shared_data::progress_add = false |
◆ progress_arg
float VW::shared_data::progress_arg = 2.0 |
◆ queries
size_t VW::shared_data::queries = 0 |
◆ report_multiclass_log_loss
bool VW::shared_data::report_multiclass_log_loss = false |
◆ second_observed_label
float VW::shared_data::second_observed_label = FLT_MAX |
◆ sum_loss
double VW::shared_data::sum_loss = 0.0 |
◆ sum_loss_since_last_dump
double VW::shared_data::sum_loss_since_last_dump = 0.0 |
double VW::shared_data::t = 0.0 |
◆ total_features
uint64_t VW::shared_data::total_features = 0 |
◆ weighted_holdout_examples
double VW::shared_data::weighted_holdout_examples = 0.0 |
◆ weighted_holdout_examples_since_last_dump
double VW::shared_data::weighted_holdout_examples_since_last_dump = 0.0 |
◆ weighted_holdout_examples_since_last_pass
double VW::shared_data::weighted_holdout_examples_since_last_pass = 0.0 |
◆ weighted_labeled_examples
double VW::shared_data::weighted_labeled_examples = 0.0 |
◆ weighted_labels
double VW::shared_data::weighted_labels = 0.0 |
◆ weighted_unlabeled_examples
double VW::shared_data::weighted_unlabeled_examples = 0.0 |
The documentation for this class was generated from the following file:
- /nix/store/2saqbz278bj3pvhbfxlcc50cjbvs3h0h-source/vowpalwabbit/core/include/vw/core/shared_data.h