/** * save model to modelPath * * @param modelPath model path */ public void saveModel(String modelPath) throws XGBoostError { JNIErrorHandle.checkCall(XgboostJNI.XGBoosterSaveModel(handle, modelPath)); }