We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the solution you'd like Here's a simple example of a series-to-series log transformer transformer:
All of these transforms are series-to-series transforms. For an overview of different kinds of transformations, see this document.
import numpy as np import pandas as pd from sktime.transformers.base import _SeriesToSeriesTransformer from sktime.utils.validation.series import class LogTransformer(_SeriesToSeriesTransformer): _tags = {"transform-returns-same-time-index": True} def transform(self, Z, X=None): self.check_is_fitted() Z = check_series(Z) return np.log(Z) def inverse_transform(self, Z, X=None): self.check_is_fitted() Z = check_series(Z) return np.exp(Z)
List of transformations we'd like to include in sktime
Related issues see #6, #224 and #297
The text was updated successfully, but these errors were encountered:
Hi @Afzal-Ind, could you tell me which part isn't clear? You can message me here or on Gitter.
Sorry, something went wrong.
Could you tell me which part isn't clear?
Thanks. I am not clear about series-to-series log transformer is how it works basically.
@Afzal-Ind There is an example in the linked document. Does that make it clearer?
Does that make it clearer?
Thanks again. It may take some time but I will keep up with this.
Successfully merging a pull request may close this issue.
Describe the solution you'd like
Here's a simple example of a series-to-series log transformer transformer:
All of these transforms are series-to-series transforms. For an overview of different kinds of transformations, see this document.
List of transformations we'd like to include in sktime
Related issues
see #6, #224 and #297
The text was updated successfully, but these errors were encountered: