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

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...
 

Detailed Description

This class is a code generator on QuickRank XML files.

The XML format is used for loading and storing ranking models.

Constructor & Destructor Documentation

quickrank::io::GenOpCond::GenOpCond ( )
inline
quickrank::io::GenOpCond::~GenOpCond ( )
inline

Member Function Documentation

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.

Parameters
model_filenamePreviously saved xml ranker model.
code_filenameOutput source code file name.

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