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

Method GetEvalCounts

src/c_api.cpp:387–393  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

385 }
386
387 int GetEvalCounts() const {
388 int ret = 0;
389 for (const auto& metric : train_metric_) {
390 ret += static_cast<int>(metric->GetName().size());
391 }
392 return ret;
393 }
394
395 int GetEvalNames(char** out_strs) const {
396 int idx = 0;

Callers 1

Calls 2

sizeMethod · 0.45
GetNameMethod · 0.45

Tested by

no test coverage detected