Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
lbl_encoder = LabelEncoder()
lbl_encoder.fit(training_labels)
training_labels = lbl_encoder.transform(training_labels)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment