forked from tinkoff-ai/etna
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix errors when importing modules without
torch
extras (#382)
* Revert "Add `get_anomalies_isolation_forest` method (#375)" This reverts commit 93ae431. * fix imports * fix imports * fix imports hard * Revert "fix imports hard" This reverts commit 10f34c4. * chore: update changelog --------- Co-authored-by: Egor Baturin <[email protected]>
- Loading branch information
Showing
13 changed files
with
45 additions
and
414 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
from etna.models.nn.deepstate.linear_dynamic_system import LDS | ||
from etna.models.nn.deepstate.state_space_model import CompositeSSM | ||
from etna.models.nn.deepstate.state_space_model import DaylySeasonalitySSM | ||
from etna.models.nn.deepstate.state_space_model import LevelSSM | ||
from etna.models.nn.deepstate.state_space_model import LevelTrendSSM | ||
from etna.models.nn.deepstate.state_space_model import SeasonalitySSM | ||
from etna.models.nn.deepstate.state_space_model import WeeklySeasonalitySSM | ||
from etna.models.nn.deepstate.state_space_model import YearlySeasonalitySSM | ||
from etna import SETTINGS | ||
|
||
if SETTINGS.torch_required: | ||
from etna.models.nn.deepstate.linear_dynamic_system import LDS | ||
from etna.models.nn.deepstate.state_space_model import CompositeSSM | ||
from etna.models.nn.deepstate.state_space_model import DaylySeasonalitySSM | ||
from etna.models.nn.deepstate.state_space_model import LevelSSM | ||
from etna.models.nn.deepstate.state_space_model import LevelTrendSSM | ||
from etna.models.nn.deepstate.state_space_model import SeasonalitySSM | ||
from etna.models.nn.deepstate.state_space_model import WeeklySeasonalitySSM | ||
from etna.models.nn.deepstate.state_space_model import YearlySeasonalitySSM |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
from etna import SETTINGS | ||
from etna.transforms.embeddings.models.base import BaseEmbeddingModel | ||
from etna.transforms.embeddings.models.ts2vec import TS2VecEmbeddingModel | ||
from etna.transforms.embeddings.models.tstcc import TSTCCEmbeddingModel | ||
|
||
if SETTINGS.torch_required: | ||
from etna.transforms.embeddings.models.ts2vec import TS2VecEmbeddingModel | ||
from etna.transforms.embeddings.models.tstcc import TSTCCEmbeddingModel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.