MCPcopy Create free account
hub / github.com/antmachineintelligence/mtgbmcode / GetFeatureNames

Method GetFeatureNames

src/c_api.cpp:406–413  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

404 }
405
406 int GetFeatureNames(char** out_strs) const {
407 int idx = 0;
408 for (const auto& name : boosting_->FeatureNames()) {
409 std::memcpy(out_strs[idx], name.c_str(), name.size() + 1);
410 ++idx;
411 }
412 return idx;
413 }
414
415 const Boosting* GetBoosting() const { return boosting_.get(); }
416

Callers 1

Calls 2

FeatureNamesMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected