Last active
October 11, 2015 22:38
-
-
Save language-engineering/3930626 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
| from random import sample # sample is a function in Python's built-in random module | |
| training_data_subset = sample(training_data, k) # Selects a random sample of k reviews |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment