pub struct BoostingParameters {
pub stages: usize,
pub learning_rate: f64,
pub max_depth: usize,
pub min_samples_leaf: usize,
pub subsample: f64,
pub seed: u64,
}Expand description
Shared boosting settings.
Fields§
§stages: usize§learning_rate: f64§max_depth: usize§min_samples_leaf: usize§subsample: f64Fraction of rows used per stage (1 for deterministic boosting).
seed: u64Trait Implementations§
Source§impl Clone for BoostingParameters
impl Clone for BoostingParameters
Source§impl Debug for BoostingParameters
impl Debug for BoostingParameters
Auto Trait Implementations§
impl Freeze for BoostingParameters
impl RefUnwindSafe for BoostingParameters
impl Send for BoostingParameters
impl Sync for BoostingParameters
impl Unpin for BoostingParameters
impl UnsafeUnpin for BoostingParameters
impl UnwindSafe for BoostingParameters
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more