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

Method GetModelTextFeaturesCount

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

Source from the content-addressed store, hash-verified

268}
269
270Napi::Value TModel::GetModelTextFeaturesCount(const Napi::CallbackInfo& info) {
271 Napi::Env env = info.Env();
272 const size_t count = GetTextFeaturesCount(this->Handle);
273
274 return Napi::Number::New(env, count);
275}
276
277Napi::Value TModel::GetModelEmbeddingFeaturesCount(const Napi::CallbackInfo& info) {
278 Napi::Env env = info.Env();

Callers

nothing calls this directly

Calls 2

GetTextFeaturesCountFunction · 0.85
NewFunction · 0.50

Tested by

no test coverage detected