Skip to content

Commit

Permalink
Deprecate differencer
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyBagnall committed May 17, 2024
1 parent cdf7370 commit 164ff82
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions aeon/transformations/difference.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

import numpy as np
import pandas as pd
from deprecated.sphinx import deprecated
from sklearn.utils import check_array

from aeon.transformations.base import BaseTransformer
Expand Down Expand Up @@ -168,6 +169,12 @@ def _inverse_diff(X, lags, X_diff_seq=None):
return X_diff_last


# TODO: remove v0.10.0
@deprecated(
version="0.9.0",
reason="The Differencer class will be removed in C0.10.0, see issue #1534",
category=FutureWarning,
)
class Differencer(BaseTransformer):
"""Apply iterative differences to a timeseries.
Expand Down

0 comments on commit 164ff82

Please sign in to comment.