Instantly share code, notes, and snippets.

Embed
What would you like to do?
//
// * Training (80 %)
// * Validation (20 %)
//
let (trainingSet, validationSet) = reviewsDataset.randomSplit(by: 0.80, seed: 5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment