Skip to content

Instantly share code, notes, and snippets.

@ferrygun
Created June 8, 2020 09:02
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 ferrygun/f164186a622de189f6f47027e2b74496 to your computer and use it in GitHub Desktop.
Save ferrygun/f164186a622de189f6f47027e2b74496 to your computer and use it in GitHub Desktop.
bbc_classify_06.py
train_size = int(len(articles) * training_portion)
train_articles = articles[0: train_size]
train_labels = labels[0: train_size]
validation_articles = articles[train_size:]
validation_labels = labels[train_size:]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment