Vowpal Wabbit
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
VW::reductions::cats::cats Class Reference

#include <cats.h>

Public Member Functions

 cats (LEARNER::learner *p_base)
 
int learn (example &ec, experimental::api_status *status)
 
int predict (example &ec, experimental::api_status *status)
 
float get_loss (const VW::cb_continuous::continuous_label &cb_cont_costs, float predicted_action) const
 

Public Attributes

uint32_t num_actions = 0
 
float bandwidth = 0.f
 
float min_value = 0.f
 
float max_value = 0.f
 

Constructor & Destructor Documentation

◆ cats()

VW::reductions::cats::cats::cats ( LEARNER::learner p_base)

Member Function Documentation

◆ get_loss()

float VW::reductions::cats::cats::get_loss ( const VW::cb_continuous::continuous_label cb_cont_costs,
float  predicted_action 
) const

◆ learn()

int VW::reductions::cats::cats::learn ( example ec,
experimental::api_status status 
)

◆ predict()

int VW::reductions::cats::cats::predict ( example ec,
experimental::api_status status 
)

Member Data Documentation

◆ bandwidth

float VW::reductions::cats::cats::bandwidth = 0.f

◆ max_value

float VW::reductions::cats::cats::max_value = 0.f

◆ min_value

float VW::reductions::cats::cats::min_value = 0.f

◆ num_actions

uint32_t VW::reductions::cats::cats::num_actions = 0

The documentation for this class was generated from the following file: