pub struct BootstrapValidationResult {
pub bootstrap_scores: Vec<Float>,
pub mean_score: Float,
pub std_score: Float,
pub confidence_interval: (Float, Float),
pub bias: Float,
pub strategy: String,
pub n_bootstrap_samples: usize,
}Expand description
Bootstrap validation result
Fields§
§bootstrap_scores: Vec<Float>bootstrap_scores
mean_score: Floatmean_score
std_score: Floatstd_score
confidence_interval: (Float, Float)confidence_interval
bias: Floatbias
strategy: Stringstrategy
n_bootstrap_samples: usizen_bootstrap_samples
Implementations§
Source§impl BootstrapValidationResult
impl BootstrapValidationResult
pub fn new( bootstrap_scores: Vec<Float>, strategy: String, confidence_level: Float, ) -> Self
pub fn percentile(&self, p: Float) -> Float
pub fn bootstrap_distribution_summary(&self) -> StatisticalSummary
Trait Implementations§
Source§impl Clone for BootstrapValidationResult
impl Clone for BootstrapValidationResult
Source§fn clone(&self) -> BootstrapValidationResult
fn clone(&self) -> BootstrapValidationResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BootstrapValidationResult
impl RefUnwindSafe for BootstrapValidationResult
impl Send for BootstrapValidationResult
impl Sync for BootstrapValidationResult
impl Unpin for BootstrapValidationResult
impl UnwindSafe for BootstrapValidationResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more