C++ and casboost

Job ID: 37994890

Budget: $30 – $250 USD

Make a VS2022 project to build a C++ dll to :

1) load Catboost model(x), return handler to manage this model later
2) Run predict model(x) (handler in parameters to seclect model1 or model2)
3) unload model(x) (handler in parameters to seclect model1 or model2)

some help :
https://github.com/catboost/catboost
https://catboost.ai/en/docs/concepts/c-plus-plus-api_dynamic-c-pluplus-wrapper

//CODE FROM HELP

ModelCalcerWrapper calcer("model.cbm");
std::vector<float> floatFeatures(100);
//std::vector<std::string> catFeatures = {"one", "two", "three"}; no need (only float inputs)
std::cout << calcer.Calc(floatFeatures, catFeatures) << std::endl;

Two models have to be in memory at the same time, "model1.cbm" and "model2.cbm"

My software using this dll:

START: load model1 AND load model2.(return handlers)

RUN: every minutes run predict on model1 OR run predict on model2.

END: unload model1 AND unload model2.
Related categories: Machine Learning (ML) C++ Programming