ocssw
V2022
|
KBestTransformer
Inheritance diagram for KBestTransformer:
Collaboration diagram for KBestTransformer:
Public Member Functions | |
def | __init__ (self, n_features, *args, **kwargs) |
Public Member Functions inherited from _CustomTransformer | |
def | fit (self, X, *args, **kwargs) |
def | transform (self, X, *args, **kwargs) |
def | inverse_transform (self, X, *args, **kwargs) |
def | fit_transform (self, X, *args, **kwargs) |
Public Attributes | |
n_features | |
k_transformer | |
Additional Inherited Members | |
Static Public Member Functions inherited from _CustomTransformer | |
def | config_info (*args, **kwargs) |
Detailed Description
Select the top K features, based on mutual information with the target variable. When multiple target variables exist, each target variable receives an even share of the features (i.e. 3 targets, K=6 -> K=2 for each target)
Definition at line 7 of file KBestTransformer.py.
Constructor & Destructor Documentation
◆ __init__()
def __init__ | ( | self, | |
n_features, | |||
* | args, | ||
** | kwargs | ||
) |
Definition at line 11 of file KBestTransformer.py.
Member Data Documentation
◆ k_transformer
k_transformer |
Definition at line 15 of file KBestTransformer.py.
◆ n_features
n_features |
Definition at line 12 of file KBestTransformer.py.
The documentation for this class was generated from the following file:
- /gfs-oceanweb/web/ocssw/ocssw_src/src/aquaverse/MDN/transformers/KBestTransformer.py