1234567891011 |
- # Catboost
- BUILD_CATBOOST_SCRIPT=build/scripts/build_catboost.py
- ### @usage: BUILD_CATBOOST(cbmodel cbname)
- ###
- ### Generate catboost model and access code.
- ### cbmodel - CatBoost model file name (*.cmb).
- ### cbname - name for a variable (of NCatboostCalcer::TCatboostCalcer type) to be available in CPP code.
- ### CatBoost specific macro.
- macro BUILD_CATBOOST(CbModel, CbName) {
- .CMD=$YMAKE_PYTHON ${input:BUILD_CATBOOST_SCRIPT} build_cb_f $ARCADIA_ROOT $ARCH_TOOL ${input:CbModel} $CbName ${output;pre=cb.:CbName.cpp} ${output;hide;pre=CB_External_;suf=.rodata:CbName} ${output_include;hide:"kernel/catboost/catboost_calcer.h"} ${kv;hide:"p CB"} ${kv;hide:"pc yellow"}
- }
|