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

#include <distributionally_robust.h>

Public Member Functions

 Duals ()
 
 Duals (bool unbounded, double kappa, double gamma, double beta, double n)
 
double qfunc (double w, double r, double sign)
 
void reset ()
 

Public Attributes

bool unbounded
 
double kappa
 
double gamma
 
double beta
 
double n
 

Friends

size_t VW::model_utils::read_model_field (io_buf &, VW::details::Duals &)
 
size_t VW::model_utils::write_model_field (io_buf &, const VW::details::Duals &, const std::string &, bool)
 

Constructor & Destructor Documentation

◆ Duals() [1/2]

VW::details::Duals::Duals ( )
inline

◆ Duals() [2/2]

VW::details::Duals::Duals ( bool  unbounded,
double  kappa,
double  gamma,
double  beta,
double  n 
)
inline

Member Function Documentation

◆ qfunc()

double VW::details::Duals::qfunc ( double  w,
double  r,
double  sign 
)
inline

◆ reset()

void VW::details::Duals::reset ( )
inline

Friends And Related Function Documentation

◆ VW::model_utils::read_model_field

◆ VW::model_utils::write_model_field

size_t VW::model_utils::write_model_field ( io_buf ,
const VW::details::Duals ,
const std::string &  ,
bool   
)
friend

Member Data Documentation

◆ beta

double VW::details::Duals::beta

◆ gamma

double VW::details::Duals::gamma

◆ kappa

double VW::details::Duals::kappa

◆ n

double VW::details::Duals::n

◆ unbounded

bool VW::details::Duals::unbounded

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