-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DEP] Move HampelFilter to outliers #1538
Conversation
Thank you for contributing to
|
@deprecated( | ||
version="0.9.0", | ||
reason="The HampelFilter transformer will be removed in v0.10.0 and will be " | ||
"replaced by an anomaly detector with ", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
with what?
_tags = { | ||
"input_data_type": "Series", | ||
"output_data_type": "Series", | ||
"X_inner_type": ["pd.DataFrame", "pd.Series"], | ||
"capability:missing_values": True, | ||
"capability:multivariate": True, | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are outdated now.
Xt : pd.Series or pd.DataFrame, same type as X | ||
transformed version of X |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here, a lot of the documentation does not seem to fit with the move.
# multivariate | ||
if isinstance(Z, pd.DataFrame): | ||
for col in Z: | ||
Z[col] = self._predict_outliers(Z[col]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think testing may not be working as intended if this is passing
Deprecates the HampelFilter transformer and moves functionality to anomaly detection, as discussed on slack
part of #1446