![]() |
QuickRank
v2.0
QuickRank: A C++ suite of Learning to Rank algorithms
|
This class is a code generator on QuickRank XML files. More...
#include <generate_conditional_operators.h>
Public Member Functions | |
| GenOpCond () | |
| ~GenOpCond () | |
| void | generate_conditional_operators_code (const std::string, const std::string) |
| Generates the C++ implementation of the model scoring function. More... | |
This class is a code generator on QuickRank XML files.
The XML format is used for loading and storing ranking models.
|
inline |
|
inline |
| void quickrank::io::GenOpCond::generate_conditional_operators_code | ( | const std::string | model_filename, |
| const std::string | code_filename | ||
| ) |
Generates the C++ implementation of the model scoring function.
This applies to tree forests and generates a cascade of conditional operators.
| model_filename | Previously saved xml ranker model. |
| code_filename | Output source code file name. |
1.8.11