You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 11, 2023. It is now read-only.
Would be nice to have a Scaler object that scales inputs or and outputs of a jaxutils.Dataset, and that saves the mean and variance, to scale test inputs for later.
fromjaxutilsimportPyTreeclassScaler(PyTree):
...
# call method scales data and "fits the scale transform"train=jaxutils.Dataset(X=..., y=...)
test=jaxutils.Dataset(X=..., y=...)
scaler=Scaler(...)
scaled_train=Scaler(train) # learn the transformscaled_test=Scaler(test) # scales the test data, under the learnt transform of the train data