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
About scaling when using PyTorch Geometric Dataset
As far as I understood, the pre_transform callable for a torch_geometric dataset will apply to one Data object at the time. So if I would want to apply minmax scaler on some node features, it would only scale them based on the values in the current Data object and not across the entire dataset?
How would I do the fit then? Track all features in the Dataset's process method and when all raw objects have passed, call a fit which I then transform in the pre_transform?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
About scaling when using PyTorch Geometric Dataset
As far as I understood, the pre_transform callable for a torch_geometric dataset will apply to one Data object at the time. So if I would want to apply minmax scaler on some node features, it would only scale them based on the values in the current Data object and not across the entire dataset?
How would I do the fit then? Track all features in the Dataset's process method and when all raw objects have passed, call a fit which I then transform in the pre_transform?
Beta Was this translation helpful? Give feedback.
All reactions