pub struct AdaBoost {
pub rounds: usize,
pub alphas: Vec<f64>,
pub weak_accuracies: Vec<f64>,
}Expand description
AdaBoost: adaptive boosting with exponential loss.
Fields§
§rounds: usizeNumber of boosting rounds T.
alphas: Vec<f64>Weights α_t for each weak learner.
weak_accuracies: Vec<f64>Per-round weak learner accuracies.
Implementations§
Auto Trait Implementations§
impl Freeze for AdaBoost
impl RefUnwindSafe for AdaBoost
impl Send for AdaBoost
impl Sync for AdaBoost
impl Unpin for AdaBoost
impl UnsafeUnpin for AdaBoost
impl UnwindSafe for AdaBoost
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