pub struct GradientBoostingClassifier {
pub parameters: BoostingParameters,
pub training_loss: Vec<f64>,
/* private fields */
}Expand description
Gradient boosting for classification with the multinomial deviance (softmax cross-entropy):
one tree per class per stage, leaves taking the Newton step Σ(y − p) / Σ p(1 − p).
Fields§
§parameters: BoostingParameters§training_loss: Vec<f64>Mean training deviance (cross-entropy) after each stage.
Implementations§
Source§impl GradientBoostingClassifier
impl GradientBoostingClassifier
pub fn new(parameters: BoostingParameters) -> Self
Trait Implementations§
Source§impl Clone for GradientBoostingClassifier
impl Clone for GradientBoostingClassifier
Auto Trait Implementations§
impl Freeze for GradientBoostingClassifier
impl RefUnwindSafe for GradientBoostingClassifier
impl Send for GradientBoostingClassifier
impl Sync for GradientBoostingClassifier
impl Unpin for GradientBoostingClassifier
impl UnsafeUnpin for GradientBoostingClassifier
impl UnwindSafe for GradientBoostingClassifier
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