| 283 | } |
| 284 | |
| 285 | LGBM_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 |
nothing calls this directly
no test coverage detected