Created
August 20, 2023 08:38
-
-
Save gmyrianthous/8f8c9c444dee9e4c5565d00e9a5000b3 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 sklearn import preprocessing | |
label_encoder = preprocessing.LabelEncoder() | |
train_Y = label_encoder.fit_transform(train_Y) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment