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

Function LGBM_BoosterGetNumClasses_R

src/lightgbm_R.cpp:372–380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

370}
371
372LGBM_SE LGBM_BoosterGetNumClasses_R(LGBM_SE handle,
373 LGBM_SE out,
374 LGBM_SE call_state) {
375 int num_class;
376 R_API_BEGIN();
377 CHECK_CALL(LGBM_BoosterGetNumClasses(R_GET_PTR(handle), &num_class));
378 R_INT_PTR(out)[0] = static_cast<int>(num_class);
379 R_API_END();
380}
381
382LGBM_SE LGBM_BoosterUpdateOneIter_R(LGBM_SE handle,
383 LGBM_SE call_state) {

Callers

nothing calls this directly

Calls 2

R_GET_PTRFunction · 0.50

Tested by

no test coverage detected