Skip to content

Instantly share code, notes, and snippets.

@sararob sararob/ Secret
Created Aug 14, 2018

What would you like to do?
encoder = MultiLabelBinarizer()
train_encoded = encoder.transform(train_genres)
test_encoded = encoder.transform(test_genres)
num_classes = len(encoder.classes_)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.