pub struct HypergraphCCA { /* private fields */ }Expand description
Hypergraph-regularized Canonical Correlation Analysis
Implementations§
Source§impl HypergraphCCA
impl HypergraphCCA
Sourcepub fn new(config: HypergraphConfig) -> Self
pub fn new(config: HypergraphConfig) -> Self
Create new hypergraph-regularized CCA
Sourcepub fn with_x_hypergraph(self, hypergraph: Hypergraph) -> Self
pub fn with_x_hypergraph(self, hypergraph: Hypergraph) -> Self
Set hypergraph for X variables
Sourcepub fn with_y_hypergraph(self, hypergraph: Hypergraph) -> Self
pub fn with_y_hypergraph(self, hypergraph: Hypergraph) -> Self
Set hypergraph for Y variables
Sourcepub fn fit(
&self,
x: &Array2<Float>,
y: &Array2<Float>,
) -> Result<HypergraphCCAResults, SklearsError>
pub fn fit( &self, x: &Array2<Float>, y: &Array2<Float>, ) -> Result<HypergraphCCAResults, SklearsError>
Fit hypergraph-regularized CCA
Trait Implementations§
Source§impl Clone for HypergraphCCA
impl Clone for HypergraphCCA
Source§fn clone(&self) -> HypergraphCCA
fn clone(&self) -> HypergraphCCA
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 HypergraphCCA
impl RefUnwindSafe for HypergraphCCA
impl Send for HypergraphCCA
impl Sync for HypergraphCCA
impl Unpin for HypergraphCCA
impl UnwindSafe for HypergraphCCA
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