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

Method FinishLoad

python-package/compile/src/io/dataset.cpp:410–423  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

408}
409
410void Dataset::FinishLoad() {
411 if (is_finish_load_) { return; }
412 if (num_groups_ > 0) {
413 OMP_INIT_EX();
414#pragma omp parallel for schedule(guided)
415 for (int i = 0; i < num_groups_; ++i) {
416 OMP_LOOP_EX_BEGIN();
417 feature_groups_[i]->bin_data_->FinishLoad();
418 OMP_LOOP_EX_END();
419 }
420 OMP_THROW_EX();
421 }
422 is_finish_load_ = true;
423}
424
425void Dataset::CopyFeatureMapperFrom(const Dataset* dataset) {
426 feature_groups_.clear();

Callers 8

LGBM_DatasetPushRowsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected