Skip to content

Instantly share code, notes, and snippets.

@sagarhowal
Created January 14, 2018 12:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sagarhowal/b0ac25307bebda4f1d1443efb7cf2a43 to your computer and use it in GitHub Desktop.
Save sagarhowal/b0ac25307bebda4f1d1443efb7cf2a43 to your computer and use it in GitHub Desktop.
import turicreate as tc
data_dir = './HAPTdataset/RawData/'
# Load labels
labels = tc.SFrame.read_csv(data_dir + 'labels.txt', delimiter=' ', header=False, verbose=False)
labels = labels.rename({'X1': 'exp_id', 'X2': 'user_id', 'X3': 'activity_id', 'X4': 'start', 'X5': 'end'})
labels
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment