ENH Remove the OneHotEncoder
inheritance SimilarityEncoder
#811
Labels
enhancement
New feature or request
OneHotEncoder
inheritance SimilarityEncoder
#811
Problem Description
Follows up on #801
The
SimilarityEncoder
inherits from scikit-learn'sOneHotEncoder
, whose implementation might be heavy since we don't benefit from this parent class as we merely callcheck_X
duringfit
.Feature Description
Replace the inheritance with (
TransformerMixin
,BaseEstimator
) and make the relevant small updates. This would also be the opportunity to perform some refactoring if needed.Alternative Solutions
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: