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