Skip to content

Commit

Permalink
Update projections.py
Browse files Browse the repository at this point in the history
  • Loading branch information
koaning authored Dec 6, 2024
1 parent 86e3417 commit ae28a2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sklego/preprocessing/projections.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from sklego.common import as_list


class OrthogonalTransformer(BaseEstimator, TransformerMixin):
class OrthogonalTransformer(TransformerMixin, BaseEstimator):
r"""The `OrthogonalTransformer` transforms the columns of a dataframe or numpy array to orthogonal (or
orthonormal if `normalize=True`) matrix.
Expand Down Expand Up @@ -113,7 +113,7 @@ def vector_projection(vec, unto):
return scalar_projection(vec, unto) * unto


class InformationFilter(BaseEstimator, TransformerMixin):
class InformationFilter(TransformerMixin, BaseEstimator):
r"""The `InformationFilter` transformer uses a variant of the
[Gram-Schmidt process](https://en.wikipedia.org/wiki/Gram%E2%80%93Schmidt_process) to filter information out of the
dataset.
Expand Down

0 comments on commit ae28a2b

Please sign in to comment.