Skip to content

Commit

Permalink
ADD BaseEstimator to TargetConfoundRemover #151
Browse files Browse the repository at this point in the history
  • Loading branch information
samihamdan committed Aug 18, 2022
1 parent d9ae892 commit 728cfaf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docs/changes/latest.inc
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ Enhancements
Bugs
~~~~


- ADD BaseEstimator to ConfoundRemoval for Target (:gh:`151` by `Sami Hamdan`_).

API changes
~~~~~~~~~~~

Expand Down
2 changes: 1 addition & 1 deletion julearn/transformers/confounds.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def _apply_threshold(self, residuals):
return residuals


class TargetConfoundRemover(TransformerMixin):
class TargetConfoundRemover(BaseEstimator, TransformerMixin):

def __init__(self,
model_confound=None,
Expand Down

0 comments on commit 728cfaf

Please sign in to comment.