Vowpal Wabbit
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Functions
action_score.h File Reference
#include "vw/common/future_compat.h"
#include "vw/core/constant.h"
#include "vw/core/v_array.h"
#include "vw/core/vw_fwd.h"
#include <iterator>
#include <string>

Classes

class  VW::action_score
 
class  VW::action_scores_score_iterator
 

Namespaces

namespace  VW
 
namespace  VW::details
 
namespace  VW::model_utils
 
namespace  ACTION_SCORE
 

Typedefs

using VW::action_scores = VW::v_array< action_score >
 
using ACTION_SCORE::action_score = VW::action_score
 
using ACTION_SCORE::action_scores = VW::v_array< VW::action_score >
 
using ACTION_SCORE::score_iterator = VW::action_scores_score_iterator
 

Functions

constexpr bool VW::operator< (const action_score &left, const action_score &right)
 
constexpr bool VW::operator> (const action_score &left, const action_score &right)
 
std::ostream & VW::operator<< (std::ostream &os, const action_score &a_s)
 
void VW::details::print_action_score (VW::io::writer *f, const VW::v_array< action_score > &a_s, const VW::v_array< char > &, VW::io::logger &logger)
 
std::string VW::to_string (const action_scores &action_scores_or_probs, int decimal_precision=details::DEFAULT_FLOAT_PRECISION)
 
action_scores_score_iterator VW::begin_scores (action_scores &a_s)
 
action_scores_score_iterator VW::end_scores (action_scores &a_s)
 
size_t VW::model_utils::read_model_field (io_buf &io, action_score &a_s)
 
size_t VW::model_utils::write_model_field (io_buf &io, const action_score a_s, const std::string &upstream_name, bool text)
 
VW::action_scores_score_iterator ACTION_SCORE::begin_scores (VW::action_scores &a_s)
 
VW::action_scores_score_iterator ACTION_SCORE::end_scores (VW::action_scores &a_s)