ocssw
V2022
|
DatasetMembershipTransformer
Inheritance diagram for DatasetMembershipTransformer:
Collaboration diagram for DatasetMembershipTransformer:
Public Member Functions | |
def | __init__ (self, datasets, *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 | |
locs | |
ohe | |
n_sets | |
Additional Inherited Members | |
Static Public Member Functions inherited from _CustomTransformer | |
def | config_info (*args, **kwargs) |
Detailed Description
Appends a one-hot vector of features to each sample, indicating dataset membership
Definition at line 7 of file DatasetMembershipTransformer.py.
Constructor & Destructor Documentation
◆ __init__()
def __init__ | ( | self, | |
datasets, | |||
* | args, | ||
** | kwargs | ||
) |
Definition at line 10 of file DatasetMembershipTransformer.py.
Member Data Documentation
◆ locs
locs |
Definition at line 11 of file DatasetMembershipTransformer.py.
◆ n_sets
n_sets |
Definition at line 13 of file DatasetMembershipTransformer.py.
◆ ohe
ohe |
Definition at line 12 of file DatasetMembershipTransformer.py.
The documentation for this class was generated from the following file:
- /gfs-oceanweb/web/ocssw/ocssw_src/src/aquaverse/MDN/transformers/DatasetMembershipTransformer.py