Skip to content

Commit

Permalink
train on normalized data
Browse files Browse the repository at this point in the history
  • Loading branch information
astanziola committed Apr 11, 2022
1 parent 64c901c commit a2ce8ad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ def __init__(self, path: str):
self.x = self.x[..., np.newaxis]
self.y = self.y[..., np.newaxis]

# Normalize data
self.x, _, _ = gaussian_normalize(self.x)
self.y, _, _ = gaussian_normalize(self.y)

def __len__(self):
return self.x.shape[0]

Expand Down

0 comments on commit a2ce8ad

Please sign in to comment.