Created
July 19, 2017 15:47
-
-
Save timehaven/c1d0838884464669758d5e12a32ea5b5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 'features' is file path to bcolz array on disk | |
bc = bcolz.open(features)[:] | |
# begin epoch loop | |
while 1: | |
... | |
df = df.sample(frac=1) # shuffle all rows | |
bc = bc[df.index.values] | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment