pub struct HeldOutCalibrationReport {
pub point: CalibrationReport,
pub ece_interval: ConfidenceInterval,
pub brier_interval: ConfidenceInterval,
pub log_loss_interval: ConfidenceInterval,
pub sample_count: usize,
pub bootstrap: BootstrapConfig,
}Fields§
§point: CalibrationReport§ece_interval: ConfidenceInterval§brier_interval: ConfidenceInterval§log_loss_interval: ConfidenceInterval§sample_count: usize§bootstrap: BootstrapConfigImplementations§
Source§impl HeldOutCalibrationReport
impl HeldOutCalibrationReport
pub fn evaluate( probabilities: &[f64], labels: &[u8], n_bins: usize, bootstrap: BootstrapConfig, ) -> ScoringResult<Self>
Trait Implementations§
Source§impl Clone for HeldOutCalibrationReport
impl Clone for HeldOutCalibrationReport
Source§fn clone(&self) -> HeldOutCalibrationReport
fn clone(&self) -> HeldOutCalibrationReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HeldOutCalibrationReport
impl Debug for HeldOutCalibrationReport
Source§impl PartialEq for HeldOutCalibrationReport
impl PartialEq for HeldOutCalibrationReport
impl StructuralPartialEq for HeldOutCalibrationReport
Auto Trait Implementations§
impl Freeze for HeldOutCalibrationReport
impl RefUnwindSafe for HeldOutCalibrationReport
impl Send for HeldOutCalibrationReport
impl Sync for HeldOutCalibrationReport
impl Unpin for HeldOutCalibrationReport
impl UnsafeUnpin for HeldOutCalibrationReport
impl UnwindSafe for HeldOutCalibrationReport
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