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

#include <cressieread.h>

Public Member Functions

 cressieread ()
 
 cressieread (double alpha, double tau)
 
void update (float w, float r)
 
void persist (metric_sink &, const std::string &)
 
float current_ips () const
 
void reset_stats (double alpha=VW::details::DEFAULT_ALPHA, double tau=VW::details::CRESSEREAD_DEFAULT_TAU)
 
float lower_bound ()
 
float upper_bound ()
 

Public Attributes

VW::estimators::chi_squared chisq
 
float ips = 0.0
 
float last_w = 0.0
 
float last_r = 0.0
 
uint64_t update_count = 0
 

Constructor & Destructor Documentation

◆ cressieread() [1/2]

VW::estimators::cressieread::cressieread ( )
inline

◆ cressieread() [2/2]

VW::estimators::cressieread::cressieread ( double  alpha,
double  tau 
)
inline

Member Function Documentation

◆ current_ips()

float VW::estimators::cressieread::current_ips ( ) const

◆ lower_bound()

float VW::estimators::cressieread::lower_bound ( )

◆ persist()

void VW::estimators::cressieread::persist ( metric_sink ,
const std::string &   
)

◆ reset_stats()

void VW::estimators::cressieread::reset_stats ( double  alpha = VW::details::DEFAULT_ALPHA,
double  tau = VW::details::CRESSEREAD_DEFAULT_TAU 
)

◆ update()

void VW::estimators::cressieread::update ( float  w,
float  r 
)

◆ upper_bound()

float VW::estimators::cressieread::upper_bound ( )

Member Data Documentation

◆ chisq

VW::estimators::chi_squared VW::estimators::cressieread::chisq

◆ ips

float VW::estimators::cressieread::ips = 0.0

◆ last_r

float VW::estimators::cressieread::last_r = 0.0

◆ last_w

float VW::estimators::cressieread::last_w = 0.0

◆ update_count

uint64_t VW::estimators::cressieread::update_count = 0

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