| 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; |
no test coverage detected