pub struct MultiGraphCCA { /* private fields */ }Expand description
Multi-graph CCA for multi-layer networks
Implementations§
Source§impl MultiGraphCCA
impl MultiGraphCCA
Sourcepub fn new(config: GraphRegularizationConfig) -> Self
pub fn new(config: GraphRegularizationConfig) -> Self
Create new multi-graph CCA
Sourcepub fn fit_multi_layer(
&self,
x: &Array2<f64>,
y: &Array2<f64>,
x_graphs: &[GraphStructure],
y_graphs: &[GraphStructure],
) -> GraphResult<GraphRegularizationResults>
pub fn fit_multi_layer( &self, x: &Array2<f64>, y: &Array2<f64>, x_graphs: &[GraphStructure], y_graphs: &[GraphStructure], ) -> GraphResult<GraphRegularizationResults>
Fit multi-graph CCA with multiple graph layers
Auto Trait Implementations§
impl Freeze for MultiGraphCCA
impl RefUnwindSafe for MultiGraphCCA
impl Send for MultiGraphCCA
impl Sync for MultiGraphCCA
impl Unpin for MultiGraphCCA
impl UnwindSafe for MultiGraphCCA
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> 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