QuickRank  v2.0
QuickRank: A C++ suite of Learning to Rank algorithms
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
quickrank::learning::forests::WeakRanker Class Reference

#include <rankboost.h>

Public Member Functions

 WeakRanker (unsigned int feature_id, Feature theta, int sign)
 
 ~WeakRanker ()
 
unsigned int get_feature_id () const
 
Feature get_theta () const
 
int get_sign () const
 
unsigned int score_document (const quickrank::Feature *d)
 
WeakRankerclone ()
 

Private Member Functions

std::ostream & put (std::ostream &os) const
 

Private Attributes

unsigned int feature_id_ = 0
 
Feature theta_ = 0.0
 
int sign_ = 1
 

Friends

std::ostream & operator<< (std::ostream &os, const WeakRanker &a)
 

Constructor & Destructor Documentation

quickrank::learning::forests::WeakRanker::WeakRanker ( unsigned int  feature_id,
Feature  theta,
int  sign 
)
inline
quickrank::learning::forests::WeakRanker::~WeakRanker ( )
inline

Member Function Documentation

WeakRanker* quickrank::learning::forests::WeakRanker::clone ( )
inline
unsigned int quickrank::learning::forests::WeakRanker::get_feature_id ( ) const
inline
int quickrank::learning::forests::WeakRanker::get_sign ( ) const
inline
Feature quickrank::learning::forests::WeakRanker::get_theta ( ) const
inline
std::ostream& quickrank::learning::forests::WeakRanker::put ( std::ostream &  os) const
inlineprivate
unsigned int quickrank::learning::forests::WeakRanker::score_document ( const quickrank::Feature d)
inline

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const WeakRanker a 
)
friend

Member Data Documentation

unsigned int quickrank::learning::forests::WeakRanker::feature_id_ = 0
private
int quickrank::learning::forests::WeakRanker::sign_ = 1
private
Feature quickrank::learning::forests::WeakRanker::theta_ = 0.0
private

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