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

Function LGBM_DatasetGetNumFeature_R

src/lightgbm_R.cpp:285–293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283}
284
285LGBM_SE LGBM_DatasetGetNumFeature_R(LGBM_SE handle,
286 LGBM_SE out,
287 LGBM_SE call_state) {
288 int nfeature;
289 R_API_BEGIN();
290 CHECK_CALL(LGBM_DatasetGetNumFeature(R_GET_PTR(handle), &nfeature));
291 R_INT_PTR(out)[0] = static_cast<int>(nfeature);
292 R_API_END();
293}
294
295// --- start Booster interfaces
296

Callers

nothing calls this directly

Calls 2

R_GET_PTRFunction · 0.50

Tested by

no test coverage detected