pub struct Hsic {
pub kernel: KernelChoice,
pub bandwidth: Bandwidth,
pub null_dist: NullDistribution,
}Expand description
HSIC independence test (X ⊥ Y, no conditioning set).
Fields§
§kernel: KernelChoiceKernel selection.
bandwidth: BandwidthBandwidth rule for default RBF kernels.
null_dist: NullDistributionNull-distribution approximation.
Implementations§
Trait Implementations§
Source§impl CITest for Hsic
impl CITest for Hsic
Source§fn validate(&self, data: &Dataset) -> Result<(), CIError>
fn validate(&self, data: &Dataset) -> Result<(), CIError>
Check the test’s own configuration against
data (e.g. kernel
parameters, column names). The default accepts everything. Bindings call
this at construction so a bad configuration fails early; the provided
CITest::test also runs it on every call. Read moreSource§fn test_impl(
&self,
data: &Dataset,
x: usize,
y: usize,
z: &[usize],
) -> Result<CIResult, CIError>
fn test_impl( &self, data: &Dataset, x: usize, y: usize, z: &[usize], ) -> Result<CIResult, CIError>
Test-specific computation for
x ⊥ y | z. Implementations may assume
the query has already been validated by CITest::test; call sites
should use CITest::test, not this method. Read moreimpl StructuralPartialEq for Hsic
Auto Trait Implementations§
impl Freeze for Hsic
impl RefUnwindSafe for Hsic
impl Send for Hsic
impl Sync for Hsic
impl Unpin for Hsic
impl UnsafeUnpin for Hsic
impl UnwindSafe for Hsic
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