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

Function LGBM_BoosterGetPredict

src/c_api.cpp:1303–1311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1301}
1302
1303int LGBM_BoosterGetPredict(BoosterHandle handle,
1304 int data_idx,
1305 int64_t* out_len,
1306 double* out_result) {
1307 API_BEGIN();
1308 Booster* ref_booster = reinterpret_cast<Booster*>(handle);
1309 ref_booster->GetPredictAt(data_idx, out_result, out_len);
1310 API_END();
1311}
1312
1313int LGBM_BoosterPredictForFile(BoosterHandle handle,
1314 const char* data_filename,

Callers 1

LGBM_BoosterGetPredict_RFunction · 0.70

Calls 1

GetPredictAtMethod · 0.45

Tested by

no test coverage detected