Detailed Description
Definition at line 308 of file LaRank.h.
List of all members.
Constructor & Destructor Documentation
constructor
- Parameters:
-
| C | constant C |
| k | kernel |
| lab | labels |
Definition at line 610 of file LaRank.cpp.
Member Function Documentation
int32_t add |
( |
int32_t |
x_id, |
|
|
int32_t |
yi | |
|
) |
| | [virtual] |
uint32_t class_count |
( |
|
) |
const [protected] |
void destroy |
( |
|
) |
[virtual] |
get classifier type
- Returns:
- classifier type LIBSVM
Reimplemented from CClassifier.
Definition at line 354 of file LaRank.h.
virtual const char* get_name |
( |
void |
|
) |
const [virtual] |
- Returns:
- object name
Reimplemented from CSVM.
Definition at line 357 of file LaRank.h.
uint32_t getNumOutputs |
( |
|
) |
const [virtual] |
int32_t predict |
( |
int32_t |
x_id |
) |
[virtual] |
void set_batch_mode |
( |
bool |
enable |
) |
|
train classifier
- Parameters:
-
| data | training data (parameter can be avoided if distance or kernel-based classifiers are used and distance/kernels are initialized with train data) |
- Returns:
- whether training was successful
Reimplemented from CClassifier.
Definition at line 624 of file LaRank.cpp.
Member Data Documentation
int64_t cache [protected] |
std_hash_set< int32_t > classes [protected] |
The documentation for this class was generated from the following files: