| 12 | namespace LightGBM { |
| 13 | |
| 14 | std::string GetBoostingTypeFromModelFile(const char* filename) { |
| 15 | TextReader<size_t> model_reader(filename, true); |
| 16 | std::string type = model_reader.first_line(); |
| 17 | return type; |
| 18 | } |
| 19 | |
| 20 | bool Boosting::LoadFileToBoosting(Boosting* boosting, const char* filename) { |
| 21 | auto start_time = std::chrono::steady_clock::now(); |
no test coverage detected