Skip to main content

DynSGBT

Type Alias DynSGBT 

Source
pub type DynSGBT = SGBT<Box<dyn Loss>>;
Expand description

Type alias for an SGBT model using dynamic (boxed) loss dispatch.

Use this when the loss function is determined at runtime (e.g., when deserializing a model from JSON where the loss type is stored as a tag).

For compile-time loss dispatch (preferred for performance), use SGBT<LogisticLoss>, SGBT<HuberLoss>, etc.

Aliased Typeยง

pub struct DynSGBT { /* private fields */ }