Compiler Parameters

Compiler parameters influence the way the C prediction function is generated from a tree ensemble model.


std::string annotate_in = {"NULL"}

Name of model annotation file.

Use tl2cgen.annotate_branch() to generate this file.

int quantize = {0}

Whether to quantize threshold points (0: no, >0: yes)

int parallel_comp = {0}

Option to enable parallel compilation; if set to nonzero, the trees will be evely distributed into [parallel_comp] files. Set this option to improve compilation time and reduce memory consumption during compilation.

int verbose = {0}

If >0, produce extra messages.

std::string native_lib_name = {"predictor"}

Native lib name (without extension)