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
There is the simple 2000 data (no shuffle) with 1682 forwards, 161 lefts, 157 rights
But after using shuffle in build-in random library, It comes out with unpredictable result. (and I already test for more than 5 times, every time with different result.)
so I try to use shuffle method in numpy library. And the result is always correct.
Yeah, I came across this, I honestly have no idea what is happening there, makes no sense to me why that'd be happening. The way I "solved" it was to put the data into a pandas dataframe, and shuffle that. Doing that gives the results one would expect.
A few models were trained by me on the old method and it still appears to work, and I looked into the data itself and it appeared correct, but the behavior of the counts still baffles me.
Here's the code I have been using to do the shuffling:
There is the simple 2000 data (no shuffle) with 1682 forwards, 161 lefts, 157 rights
But after using shuffle in build-in random library, It comes out with unpredictable result. (and I already test for more than 5 times, every time with different result.)
so I try to use shuffle method in numpy library. And the result is always correct.
@Sentdex Would you mind for testing it, Thx.
The text was updated successfully, but these errors were encountered: