-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
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
Updates after Neiry colab #165
Conversation
Thanks for update, @v1docq!
Comment last updated at 2024-10-17 11:52:00 UTC |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #165 +/- ##
==========================================
- Coverage 67.05% 66.00% -1.05%
==========================================
Files 117 119 +2
Lines 11885 11977 +92
==========================================
- Hits 7970 7906 -64
- Misses 3915 4071 +156
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
||
Attributes: | ||
window_size (int): size of window | ||
stride (int): stride for window | ||
var_threshold (float): threshold for variance | ||
|
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.
лучше тут написать актуальную задачу генератора
def generate_features_from_ts(self, | ||
input_data: InputData, | ||
window_length: int = None) -> InputData: | ||
feature_domain_models = [model for model in KERNEL_BASELINE_FEATURE_GENERATORS] |
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.
тут видимо KERNEL_BASELINE_FEATURE_GENERATORS.values или что-то такое
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.
.keys()
|
||
def generate_features_from_ts(self, | ||
input_data: InputData, | ||
window_length: int = None) -> InputData: |
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.
вероятно тут возвращаемый тип лист
def _transform(self, input_data: InputData) -> np.array: | ||
""" | ||
Method for feature generation for all series | ||
""" | ||
|
||
feature_list = self.generate_features_from_ts(input_data) | ||
self.predict = self.create_feature_matrix(feature_list) | ||
return self.predict if not self.reduce_dimension else self._reduce_dim(self.predict, input_data.target) |
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.
тут с тайпхинтами что-то перепуталось, потому что приходит не инпут дата, а лист
try: | ||
is_invalid = mutation.__name__.__contains__('resample') | ||
except Exception: | ||
is_invalid = mutation.name.__contains__('resample') |
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.
просто интересно, почему мы дропаем ресемпл?
No description provided.