-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
help wantedExtra attention is neededExtra attention is needed
Milestone
Description
Was going through the methods present in the HungaryCPDataLoader during the dataset abstraction task and noticed the following in the _get_targets_and_features method
Our Version
def _get_targets_and_features(self):
stacked_target = np.array(self._dataset["FX"])
self._all_targets = np.array(
[stacked_target[i, :].T for i in range(stacked_target.shape[0])]
)But inside the PyTorch Geometric Temporal version they are computing the features list
PyG-T Version
def _get_targets_and_features(self):
stacked_target = np.array(self._dataset["FX"])
self.features = [
stacked_target[i : i + self.lags, :].T
for i in range(stacked_target.shape[0] - self.lags)
]
self.targets = [
stacked_target[i + self.lags, :].T
for i in range(stacked_target.shape[0] - self.lags)
]Need to confirm why we omitted this computation in our dataloader and add it back in if necessary.
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed