We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 074896f commit 8f3a8fbCopy full SHA for 8f3a8fb
src/booster.rs
@@ -533,7 +533,7 @@ impl Booster {
533
xgb_call!(xgboost_sys::XGBoosterSaveRabitCheckpoint(self.handle))
534
}
535
536
- pub(crate) fn set_param(&mut self, name: &str, value: &str) -> XGBResult<()> {
+ pub fn set_param(&mut self, name: &str, value: &str) -> XGBResult<()> {
537
let name = ffi::CString::new(name).unwrap();
538
let value = ffi::CString::new(value).unwrap();
539
xgb_call!(xgboost_sys::XGBoosterSetParam(self.handle, name.as_ptr(), value.as_ptr()))
0 commit comments