#include <global_data.h>
◆ workspace() [1/3]
◆ ~workspace()
VW::workspace::~workspace |
( |
| ) |
|
◆ workspace() [2/3]
◆ workspace() [3/3]
◆ dump_weights_to_json_experimental()
std::string VW::workspace::dump_weights_to_json_experimental |
( |
| ) |
|
Generate a JSON string with the current model state and invert hash lookup table. Bottom learner in use must be gd and workspace.hash_inv must be true. This function is experimental and subject to change.
- Returns
- std::string JSON formatted string
◆ finish()
void VW::workspace::finish |
( |
| ) |
|
This is used to perform finalization steps the driver/cli would normally do. If using VW in library mode, this call is optional. Some things this function does are: print summary, finalize regressor, output metrics, etc
◆ finish_example() [1/2]
void VW::workspace::finish_example |
( |
example & |
| ) |
|
◆ finish_example() [2/2]
void VW::workspace::finish_example |
( |
multi_ex & |
| ) |
|
◆ get_random_state()
◆ learn() [1/2]
void VW::workspace::learn |
( |
example & |
| ) |
|
◆ learn() [2/2]
void VW::workspace::learn |
( |
multi_ex & |
| ) |
|
◆ length()
size_t VW::workspace::length |
( |
| ) |
|
|
inline |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ predict() [1/2]
void VW::workspace::predict |
( |
example & |
| ) |
|
◆ predict() [2/2]
void VW::workspace::predict |
( |
multi_ex & |
| ) |
|
◆ feature_mask
std::string VW::workspace::feature_mask |
◆ feature_tweaks_config
◆ id
std::string VW::workspace::id |
◆ initial_weights_config
◆ logger
◆ loss_config
◆ options
◆ output_config
◆ output_model_config
◆ output_runtime
◆ parser_runtime
◆ passes_config
◆ print_by_ref
◆ print_text_by_ref
◆ reduction_state
◆ runtime_config
◆ runtime_state
◆ sd
◆ set_minmax
std::function<void(float)> VW::workspace::set_minmax |
◆ update_rule_config
◆ weights
The documentation for this class was generated from the following file:
- /nix/store/2saqbz278bj3pvhbfxlcc50cjbvs3h0h-source/vowpalwabbit/core/include/vw/core/global_data.h