组合类型 | |
struct | outputgradient_t |
struct | process_return_t |
公有成员 | |
CLaRank () | |
CLaRank (float64_t C, CKernel *k, CLabels *lab) | |
virtual | ~CLaRank () |
bool | train (CFeatures *data) |
virtual int32_t | add (int32_t x_id, int32_t yi) |
virtual int32_t | predict (int32_t x_id) |
virtual void | destroy () |
virtual float64_t | computeGap () |
virtual uint32_t | getNumOutputs () const |
int32_t | getNSV () |
float64_t | computeW2 () |
float64_t | getDual () |
virtual EClassifierType | get_classifier_type () |
virtual const char * | get_name () const |
void | set_batch_mode (bool enable) |
bool | get_batch_mode () |
void | set_tau (float64_t t) |
float64_t | get_tau () |
保护成员 | |
uint32_t | class_count () const |
保护属性 | |
std_hash_set< int32_t > | classes |
float64_t | tau |
int32_t | nb_train |
int64_t | cache |
bool | batch_mode |
int32_t | step |
CLaRank | ( | ) |
在文件LaRank.cpp第602行定义。
~CLaRank | ( | ) | [virtual] |
在文件LaRank.cpp第619行定义。
int32_t add | ( | int32_t | x_id, | |
int32_t | yi | |||
) | [virtual] |
在文件LaRank.cpp第716行定义。
float64_t computeGap | ( | ) | [virtual] |
在文件LaRank.cpp第817行定义。
float64_t computeW2 | ( | ) |
在文件LaRank.cpp第867行定义。
void destroy | ( | ) | [virtual] |
在文件LaRank.cpp第809行定义。
virtual EClassifierType get_classifier_type | ( | ) | [virtual] |
float64_t getDual | ( | ) |
在文件LaRank.cpp第883行定义。
int32_t getNSV | ( | ) |
在文件LaRank.cpp第854行定义。
uint32_t getNumOutputs | ( | ) | const [virtual] |
在文件LaRank.cpp第848行定义。
int32_t predict | ( | int32_t | x_id | ) | [virtual] |
在文件LaRank.cpp第793行定义。
bool train | ( | CFeatures * | data | ) | [virtual] |
train classifier
data | training data (parameter can be avoided if distance or kernel-based classifiers are used and distance/kernels are initialized with train data) |
重载CClassifier。
在文件LaRank.cpp第624行定义。
bool batch_mode [protected] |