Skip to content

Commit

Permalink
Changed LTSFLinearForecaster name to make it shorter.
Browse files Browse the repository at this point in the history
  • Loading branch information
djpasseyjr committed Oct 2, 2024
1 parent 5c492e8 commit 28490be
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions interfere/_methods/deep_learning.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
raise ImportError(
"ImportError occured in sktime import."
"\n\n This likely occurred because `interfere` does not list `sktime` as a direct dependency. To use the "
"LTSFLinearForecaster, try first install `sktime` via pip "
"LTSF, try first install `sktime` via pip "
"install sktime."
f"\n\nOriginating error text: {e}"
)
Expand All @@ -18,7 +18,7 @@
from ..utils import copy_doc, to_sktime_time_series


class LTSFLinearForecaster(ForecastMethod):
class LTSF(ForecastMethod):
"""Uses a transformer for inference."""


Expand Down
2 changes: 1 addition & 1 deletion interfere/methods/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"""

from .._methods.average_method import AverageMethod
from .._methods.deep_learning import LTSFLinearForecaster
from .._methods.deep_learning import LTSF
from .._methods.nixtla_methods.neuralforecast_methods import LSTM, NHITS
from .._methods.nixtla_methods.statsforecast_methods import AutoARIMA
from .._methods.reservoir_computer import ResComp
Expand Down
2 changes: 1 addition & 1 deletion tests/test_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
METHODS = [
interfere.methods.ResComp,
interfere.methods.SINDY,
interfere.methods.LTSFLinearForecaster,
interfere.methods.LTSF,
interfere.methods.VAR,
interfere.methods.LSTM,
interfere.methods.NHITS,
Expand Down

0 comments on commit 28490be

Please sign in to comment.