Pustaka Taratsa
Keras: LabelEncoder

Keras: LabelEncoder

Penulis: Onno Widodo Purbo

sklearn.preprocessing.LabelEncoder class sklearn.preprocessing.LabelEncoder[source] Encode labels with value between 0 and n_classes-1. Read more in the User Guide. Attributes: classes_ : array of shape (n_class,) Holds the label for each class. See also sklearn.preprocessing.OrdinalEncoder encode categorical features using a one-hot or ordinal encoding scheme. Examples LabelEncoder can be used