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

Function LGBM_BoosterRollbackOneIter

src/c_api.cpp:1223–1228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1221}
1222
1223int LGBM_BoosterRollbackOneIter(BoosterHandle handle) {
1224 API_BEGIN();
1225 Booster* ref_booster = reinterpret_cast<Booster*>(handle);
1226 ref_booster->RollbackOneIter();
1227 API_END();
1228}
1229
1230int LGBM_BoosterGetCurrentIteration(BoosterHandle handle, int* out_iteration) {
1231 API_BEGIN();

Callers 1

Calls 1

RollbackOneIterMethod · 0.45

Tested by

no test coverage detected