Skip to content

Instantly share code, notes, and snippets.

@sahil280114
Created August 15, 2018 19:10
Show Gist options
  • Save sahil280114/a51c6c4876342a6fd516e1dc3fd2aac0 to your computer and use it in GitHub Desktop.
Save sahil280114/a51c6c4876342a6fd516e1dc3fd2aac0 to your computer and use it in GitHub Desktop.
features = np.vectorize(features)
X = features(reviews[:, 1])
y = reviews[:, 0]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment