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
I think this should be dataset_path = self.dataset_pathes[potential_dataset_pathes[random_int]]
the previous line random_int = np.random.randint(potential_dataset_pathes.size)
is selecting a random integer within the domain of the length of the array. We need to reference that to pick the right entry of our potential_dataset_pathes
The text was updated successfully, but these errors were encountered:
after implementing this and realizing another issue, I think it's better to do this: random_int = potential_dataset_pathes[np.random.randint(potential_dataset_pathes.size)]
Gym-Trading-Env/src/gym_trading_env/environments.py
Line 385 in 1b5b466
I think this should be
dataset_path = self.dataset_pathes[potential_dataset_pathes[random_int]]
the previous line
random_int = np.random.randint(potential_dataset_pathes.size)
is selecting a random integer within the domain of the length of the array. We need to reference that to pick the right entry of our
potential_dataset_pathes
The text was updated successfully, but these errors were encountered: