MCPcopy Create free account
hub / github.com/RolnickLab/climart / __init__

Method __init__

climart/data_transform/normalization.py:136–138  ·  view source on GitHub ↗
(self, mean=None, std=None, **kwargs)

Source from the content-addressed store, hash-verified

134
135class LogZ_Normalizer(NormalizationMethod):
136 def __init__(self, mean=None, std=None, **kwargs):
137 super().__init__(**kwargs)
138 self.z_normalizer = Z_Normalizer(mean, std)
139
140 def normalize(self, data, *args, **kwargs):
141 normalized_data = np.log(data + 1e-5)

Callers

nothing calls this directly

Calls 2

Z_NormalizerClass · 0.85
__init__Method · 0.45

Tested by

no test coverage detected