pub struct SensitivityAnalyzer { /* private fields */ }Expand description
Sensitivity analyzer — computes variance-based sensitivity indices.
Implementations§
Source§impl SensitivityAnalyzer
impl SensitivityAnalyzer
Sourcepub fn analyze<F>(
&self,
distributions: &[Distribution],
model: F,
) -> SensitivityResult
pub fn analyze<F>( &self, distributions: &[Distribution], model: F, ) -> SensitivityResult
Analyze sensitivity of a model to its inputs.
Uses a simplified variance-based approach: for each variable, compute the variance of the output when only that variable varies (others fixed at mean), divided by the total variance.
Sourcepub fn analyze_with_labels<F>(
&self,
distributions: &[Distribution],
labels: &[String],
model: F,
) -> SensitivityResult
pub fn analyze_with_labels<F>( &self, distributions: &[Distribution], labels: &[String], model: F, ) -> SensitivityResult
Analyze with custom labels.
Trait Implementations§
Source§impl Debug for SensitivityAnalyzer
impl Debug for SensitivityAnalyzer
Auto Trait Implementations§
impl Freeze for SensitivityAnalyzer
impl RefUnwindSafe for SensitivityAnalyzer
impl Send for SensitivityAnalyzer
impl Sync for SensitivityAnalyzer
impl Unpin for SensitivityAnalyzer
impl UnsafeUnpin for SensitivityAnalyzer
impl UnwindSafe for SensitivityAnalyzer
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