MCPcopy Create free account
hub / github.com/catboost/catboost / GetModelTreeCount

Method GetModelTreeCount

catboost/node-package/src/model.cpp:284–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282}
283
284Napi::Value TModel::GetModelTreeCount(const Napi::CallbackInfo& info) {
285 Napi::Env env = info.Env();
286 const size_t count = GetTreeCount(this->Handle);
287
288 return Napi::Number::New(env, count);
289}
290
291Napi::Value TModel::GetModelDimensionsCount(const Napi::CallbackInfo& info) {
292 Napi::Env env = info.Env();

Callers

nothing calls this directly

Calls 2

GetTreeCountFunction · 0.85
NewFunction · 0.50

Tested by

no test coverage detected