MCPcopy Create free account
hub / github.com/TrustAGI-Lab/MTGODE / transform

Method transform

util.py:143–144  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

141 self.std = std
142
143 def transform(self, data):
144 return (data - self.mean) / self.std
145
146 def inverse_transform(self, data):
147 return (data * self.std) + self.mean

Callers 1

load_datasetFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected