rv_coefficient_interdependence
Bases: statistical_kernel_based_interdependence
A statistical kernel-based interdependence class using the RV coefficient kernel.
Notes
RV coefficient based Kernel:
$$ \begin{equation} \text{kernel}(\mathbf{x}, \mathbf{y}) = \frac{ tr(\Sigma_{x,y} \Sigma_{y,x} ) }{ \sqrt{ tr(\Sigma_x^2) tr(\Sigma_y^2)}}. \end{equation} $$ where \(\Sigma_{x}\), \(\Sigma_{y}\) and \(\Sigma_{x,y}\) denote the variance/co-variance matrix of \(\mathbf{x}\) and \(\mathbf{y}\) respectively.
Attributes:
Name | Type | Description |
---|---|---|
kernel |
Callable
|
The RV coefficient kernel function. |
Methods:
Name | Description |
---|---|
__init__ |
Initializes the RV coefficient interdependence function. |
Source code in tinybig/interdependence/statistical_kernel_interdependence.py
__init__(name='rv_coefficient_interdependence', *args, **kwargs)
Initializes the RV coefficient interdependence function.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
name
|
str
|
Name of the interdependence function. Defaults to 'rv_coefficient_interdependence'. |
'rv_coefficient_interdependence'
|
*args
|
tuple
|
Additional positional arguments for the parent class. |
()
|
**kwargs
|
dict
|
Additional keyword arguments for the parent class. |
{}
|