pub struct CorrelationAnalysis {
pub correlation_matrices: HashMap<CorrelationType, Array2<Float>>,
pub cross_task_correlations: HashMap<(String, String), Array2<Float>>,
pub within_task_correlations: HashMap<String, Array2<Float>>,
pub partial_correlations: Option<HashMap<CorrelationType, Array2<Float>>>,
pub output_info: HashMap<String, usize>,
pub combined_outputs: Array2<Float>,
pub output_indices: HashMap<String, (usize, usize)>,
}Expand description
Correlation analysis results
Fields§
§correlation_matrices: HashMap<CorrelationType, Array2<Float>>Correlation matrices for each correlation type
cross_task_correlations: HashMap<(String, String), Array2<Float>>Cross-task correlation analysis
within_task_correlations: HashMap<String, Array2<Float>>Within-task correlation analysis
partial_correlations: Option<HashMap<CorrelationType, Array2<Float>>>Partial correlation matrices
output_info: HashMap<String, usize>Output names and dimensions
combined_outputs: Array2<Float>Combined output matrix used for analysis
output_indices: HashMap<String, (usize, usize)>Output indices for each task
Implementations§
Source§impl CorrelationAnalysis
impl CorrelationAnalysis
Sourcepub fn get_correlation(
&self,
output1: &str,
output2: &str,
correlation_type: &CorrelationType,
) -> Option<Float>
pub fn get_correlation( &self, output1: &str, output2: &str, correlation_type: &CorrelationType, ) -> Option<Float>
Get correlation between two specific outputs
Sourcepub fn get_strong_correlations(
&self,
correlation_type: &CorrelationType,
threshold: Float,
) -> Vec<(String, String, Float)>
pub fn get_strong_correlations( &self, correlation_type: &CorrelationType, threshold: Float, ) -> Vec<(String, String, Float)>
Get strongest correlations above threshold
Sourcepub fn correlation_summary(
&self,
correlation_type: &CorrelationType,
) -> Option<(Float, Float, Float, Float)>
pub fn correlation_summary( &self, correlation_type: &CorrelationType, ) -> Option<(Float, Float, Float, Float)>
Get summary statistics for correlations
Trait Implementations§
Source§impl Clone for CorrelationAnalysis
impl Clone for CorrelationAnalysis
Source§fn clone(&self) -> CorrelationAnalysis
fn clone(&self) -> CorrelationAnalysis
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 CorrelationAnalysis
impl RefUnwindSafe for CorrelationAnalysis
impl Send for CorrelationAnalysis
impl Sync for CorrelationAnalysis
impl Unpin for CorrelationAnalysis
impl UnwindSafe for CorrelationAnalysis
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