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

Method normalize

climart/data_transform/normalization.py:101–104  ·  view source on GitHub ↗
(self, data, axis=None, *args, **kwargs)

Source from the content-addressed store, hash-verified

99 self.max_minus_min = max_minus_min or max - min
100
101 def normalize(self, data, axis=None, *args, **kwargs):
102 # self.min = np.min(data, axis=axis)
103 # self.max_minus_min = (np.max(data, axis=axis) - self.min)
104 return self(data)
105
106 def inverse_normalize(self, normalized_data):
107 shapes = normalized_data.shape

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected