gw.transforms.parameter_transforms.SelectStandardizeRepackageParameters
gw.transforms.parameter_transforms.SelectStandardizeRepackageParameters(
parameters_dict,
standardization_dict,
inverse=False,
as_type=None,
device='cpu',
)This transformation selects the parameters in standardization_dict, normalizes them by setting p = (p - mean) / std, and repackages the selected parameters to a numpy array.
as_type: str = None only applies, if self.inverse == True * if None, data type is kept * if ‘dict’, dict with * if ‘pandas’, use pandas.DataFrame
Attributes
| Name | Description |
|---|---|
| N | |
| as_type | |
| device | |
| inverse | |
| mean | |
| parameters_dict | |
| std |