LabelEncoder ============ .. currentmodule:: sklearn.preprocessing .. autoclass:: LabelEncoder :members: :inherited-members: :special-members: __call__ .. minigallery:: sklearn.preprocessing.LabelEncoder sklearn.preprocessing.LabelEncoder.__init__ sklearn.preprocessing.LabelEncoder.fit sklearn.preprocessing.LabelEncoder.fit_transform sklearn.preprocessing.LabelEncoder.get_metadata_routing sklearn.preprocessing.LabelEncoder.get_params sklearn.preprocessing.LabelEncoder.inverse_transform sklearn.preprocessing.LabelEncoder.set_output sklearn.preprocessing.LabelEncoder.set_params sklearn.preprocessing.LabelEncoder.transform :add-heading: Gallery examples :heading-level: -