-
Notifications
You must be signed in to change notification settings - Fork 80
Add tsfresh
into optional dependencies
#1246
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
3786c7b
chore: add tsfresh to dependencies
aa68afc
chore: update github actions by removing installing of tsfresh
849365d
fix: fix Settings to work with classification extras
c0e5809
style: fix formatting
b54b6c4
fix: remove redundant pip install in classification notebook
6aa3aa4
fix: fix using pyts according to SETTINGS
92741a8
fix: remove fixing poetry version in github actions
65bfb58
chore: update changelog
ce48ab8
feature: update etna.libs.tsfresh to work on code from 0.20.0 version
f87c9fa
fix: fix checking classification extras
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 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,2 +1,5 @@ | ||
from etna.experimental.classification.classification import TimeSeriesBinaryClassifier | ||
from etna.experimental.classification.predictability import PredictabilityAnalyzer | ||
from etna import SETTINGS | ||
|
||
if SETTINGS.classification_required: | ||
from etna.experimental.classification.classification import TimeSeriesBinaryClassifier | ||
from etna.experimental.classification.predictability import PredictabilityAnalyzer |
9 changes: 6 additions & 3 deletions
9
etna/experimental/classification/feature_extraction/__init__.py
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.experimental.classification.feature_extraction.base import BaseTimeSeriesFeatureExtractor | ||
from etna.experimental.classification.feature_extraction.tsfresh import TSFreshFeatureExtractor | ||
from etna.experimental.classification.feature_extraction.weasel import WEASELFeatureExtractor | ||
from etna import SETTINGS | ||
|
||
if SETTINGS.classification_required: | ||
from etna.experimental.classification.feature_extraction.base import BaseTimeSeriesFeatureExtractor | ||
from etna.experimental.classification.feature_extraction.tsfresh import TSFreshFeatureExtractor | ||
from etna.experimental.classification.feature_extraction.weasel import WEASELFeatureExtractor |
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 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
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Are we ok with this?
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.
Don't get how it works, if user don't have pyts, what happens when he try to instantiate WEASEL?
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.
We have the same logic with NNs, look at
models/base.py
.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 reworked importing logic. Probably, it will work better and more clear.