pub struct IsotonicFit {
pub raw: Vec<IsotonicPoint>,
pub fitted: Vec<f64>,
pub normalized_area: Option<f64>,
}Expand description
Inspectable weighted pool-adjacent-violators fit.
Fields§
§raw: Vec<IsotonicPoint>Canonically sorted raw points.
fitted: Vec<f64>Nondecreasing fitted values aligned with raw.
normalized_area: Option<f64>Trapezoidal area divided by the tested level span, available for two or more levels.
Implementations§
Source§impl IsotonicFit
impl IsotonicFit
Sourcepub fn threshold(&self, threshold: f64) -> StatsResult<ThresholdReadout>
pub fn threshold(&self, threshold: f64) -> StatsResult<ThresholdReadout>
Reads a threshold crossing and preserves left/right censoring.
Trait Implementations§
Source§impl Clone for IsotonicFit
impl Clone for IsotonicFit
Source§fn clone(&self) -> IsotonicFit
fn clone(&self) -> IsotonicFit
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 IsotonicFit
impl Debug for IsotonicFit
Source§impl PartialEq for IsotonicFit
impl PartialEq for IsotonicFit
impl StructuralPartialEq for IsotonicFit
Auto Trait Implementations§
impl Freeze for IsotonicFit
impl RefUnwindSafe for IsotonicFit
impl Send for IsotonicFit
impl Sync for IsotonicFit
impl Unpin for IsotonicFit
impl UnsafeUnpin for IsotonicFit
impl UnwindSafe for IsotonicFit
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