-
Notifications
You must be signed in to change notification settings - Fork 0
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
Refactor PymfeExtractor interface #83
Conversation
Hello @MorrisNein! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Comment last updated at 2023-12-12 18:24:44 UTC |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #83 +/- ##
==========================================
- Coverage 29.33% 28.42% -0.91%
==========================================
Files 53 54 +1
Lines 2359 2318 -41
==========================================
- Hits 692 659 -33
+ Misses 1667 1659 -8 ☔ View full report in Codecov by Sentry. |
d496bcb
to
8f36254
Compare
forecast_length: int = 1 | ||
|
||
|
||
class DatasetBase(ABC, CacheOperator): | ||
DatasetDataType_co = TypeVar('DatasetDataType_co', bound=DatasetData, covariant=True) |
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.
А почему _co?
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.
PEP рекомендуют суффиксы _co и _contra для covariant и contravariant типов соответственно
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.
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.
Вроде каких-то возражений нет.
@@ -7,6 +7,24 @@ | |||
from sklearn.preprocessing import StandardScaler | |||
|
|||
|
|||
def explode_ungrouped_metafeatures(df: pd.DataFrame, n_features: int) -> pd.DataFrame: |
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.
Добавить описание, для чего этот метод.
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.
8f36254
to
2d61733
Compare
Changes:
DatasetData
implementations for time series and tabular dataDatasetMetaFeatures
class as inheritor of pd.DataFrame
FeaturePreprocessor