#[non_exhaustive]pub struct IsotonicResult {
pub x: Vec<f64>,
pub weights: Vec<f64>,
pub blocks: Vec<usize>,
}Expand description
The result of isotonic_regression.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.x: Vec<f64>The fitted monotone values, one per observation.
weights: Vec<f64>The total weight of each block of equal fitted values.
blocks: Vec<usize>The start of each block, followed by the number of observations: block k covers
blocks[k]..blocks[k + 1].
Trait Implementations§
Source§impl Clone for IsotonicResult
impl Clone for IsotonicResult
Auto Trait Implementations§
impl Freeze for IsotonicResult
impl RefUnwindSafe for IsotonicResult
impl Send for IsotonicResult
impl Sync for IsotonicResult
impl Unpin for IsotonicResult
impl UnsafeUnpin for IsotonicResult
impl UnwindSafe for IsotonicResult
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