QuickRank  v2.0
QuickRank: A C++ suite of Learning to Rank algorithms
Public Member Functions | Public Attributes | List of all members
RTNodeHistogram Class Reference

#include <rtnode_histogram.h>

Inheritance diagram for RTNodeHistogram:
RTRootHistogram

Public Member Functions

 RTNodeHistogram (float **thresholds, size_t const *thresholds_size, size_t nfeatures)
 
 RTNodeHistogram (RTNodeHistogram const *parent, size_t const *sampleids, const size_t nsampleids, double const *labels)
 
 RTNodeHistogram (RTNodeHistogram const *parent, RTNodeHistogram const *left)
 
 ~RTNodeHistogram ()
 
void update (double *labels, const size_t nlabels)
 
void transform_intorightchild (RTNodeHistogram const *left)
 
void quick_dump (size_t f, size_t num_t)
 

Public Attributes

float ** thresholds = NULL
 
size_t const * thresholds_size = NULL
 
size_t ** stmap = NULL
 
const size_t nfeatures = 0
 
double ** sumlbl = NULL
 
size_t ** count = NULL
 
double squares_sum_ = 0.0
 

Constructor & Destructor Documentation

RTNodeHistogram::RTNodeHistogram ( float **  thresholds,
size_t const *  thresholds_size,
size_t  nfeatures 
)
RTNodeHistogram::RTNodeHistogram ( RTNodeHistogram const *  parent,
size_t const *  sampleids,
const size_t  nsampleids,
double const *  labels 
)
RTNodeHistogram::RTNodeHistogram ( RTNodeHistogram const *  parent,
RTNodeHistogram const *  left 
)
RTNodeHistogram::~RTNodeHistogram ( )

Member Function Documentation

void RTNodeHistogram::quick_dump ( size_t  f,
size_t  num_t 
)
void RTNodeHistogram::transform_intorightchild ( RTNodeHistogram const *  left)
void RTNodeHistogram::update ( double *  labels,
const size_t  nlabels 
)

Member Data Documentation

size_t** RTNodeHistogram::count = NULL
const size_t RTNodeHistogram::nfeatures = 0
double RTNodeHistogram::squares_sum_ = 0.0
size_t** RTNodeHistogram::stmap = NULL
double** RTNodeHistogram::sumlbl = NULL
float** RTNodeHistogram::thresholds = NULL
size_t const* RTNodeHistogram::thresholds_size = NULL

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