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.
Was going through the methods present in the
HungaryCPDataLoaderduring the dataset abstraction task and noticed the following in the_get_targets_and_featuresmethodOur Version
But inside the PyTorch Geometric Temporal version they are computing the
featureslistPyG-T Version
Need to confirm why we omitted this computation in our dataloader and add it back in if necessary.