aimclub / Fedot.Industrial

Python framework for automated time series classification, regression and forecasting
https://fedotindustrial.readthedocs.io
BSD 3-Clause "New" or "Revised" License
76 stars 7 forks source link

Hot fix #118

Closed v1docq closed 4 months ago

pep8speaks commented 4 months ago

Thanks for update, @v1docq!

Line 75:35: E127 continuation line over-indented for visual indent Line 78:58: E126 continuation line over-indented for hanging indent Line 106:54: E127 continuation line over-indented for visual indent Line 116:33: E126 continuation line over-indented for hanging indent Line 123:27: E128 continuation line under-indented for visual indent

Line 92:35: E126 continuation line over-indented for hanging indent Line 95:58: E126 continuation line over-indented for hanging indent Line 125:33: E126 continuation line over-indented for hanging indent Line 132:27: E128 continuation line under-indented for visual indent

Line 33:10: W292 no newline at end of file

Line 22:34: E265 block comment should start with '# '

Line 11:1: F401 'fedot.core.pipelines.tuning.tuner_builder.TunerBuilder' imported but unused Line 20:1: F401 'fedot_ind.core.repository.constanst_repository.FEDOT_HEAD_ENSEMBLE' imported but unused Line 139:44: E127 continuation line over-indented for visual indent Line 140:44: E127 continuation line over-indented for visual indent Line 154:79: E127 continuation line over-indented for visual indent Line 262:93: E231 missing whitespace after ',' Line 350:54: F541 f-string is missing placeholders

Line 92:13: E722 do not use bare 'except' Line 266:13: E722 do not use bare 'except' Line 396:121: E501 line too long (122 > 120 characters) Line 474:13: E722 do not use bare 'except'

Line 8:1: F401 'sklearn.model_selection.StratifiedKFold' imported but unused Line 8:1: F401 'sklearn.model_selection.StratifiedGroupKFold' imported but unused Line 8:1: F401 'sklearn.model_selection.train_test_split' imported but unused Line 92:55: W503 line break before binary operator Line 93:121: E501 line too long (125 > 120 characters)

Line 44:26: E126 continuation line over-indented for hanging indent Line 75:16: E126 continuation line over-indented for hanging indent Line 76:74: W503 line break before binary operator

Line 76:47: F632 use ==/!= to compare constant literals (str, bytes, int, float, tuple)

Line 14:5: F401 'seaborn' imported but unused Line 176:48: E127 continuation line over-indented for visual indent

Line 20:51: F541 f-string is missing placeholders

Line 2:1: F401 'fedot_ind.core.architecture.settings.computational.backend_scipy' imported but unused Line 45:72: E226 missing whitespace around arithmetic operator Line 45:95: E226 missing whitespace around arithmetic operator

Line 2:1: F403 'from fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations import *' used; unable to detect undefined names Line 7:121: E501 line too long (122 > 120 characters) Line 23:53: F405 'Optional' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 31:31: F405 'InputData' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 34:56: F405 'InputData' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 34:100: F405 'OutputData' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 37:64: F405 'InputData' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 37:108: F405 'OutputData' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 44:53: F405 'Optional' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 65:53: F405 'Optional' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 72:53: F405 'Optional' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 80:31: F405 'InputData' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 84:56: F405 'InputData' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 84:100: F405 'OutputData' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 88:64: F405 'InputData' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 88:108: F405 'OutputData' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 97:53: F405 'Optional' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 105:53: F405 'Optional' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 108:56: F405 'InputData' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 108:99: F405 'OutputData' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 112:64: F405 'InputData' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 112:107: F405 'OutputData' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 121:53: F405 'Optional' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 124:56: F405 'InputData' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 124:99: F405 'OutputData' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 129:64: F405 'InputData' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 129:107: F405 'OutputData' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 138:53: F405 'Optional' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 141:31: F405 'InputData' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations

Line 7:1: F403 'from fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations import *' used; unable to detect undefined names Line 23:26: F405 'Optional' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 43:121: E501 line too long (121 > 120 characters) Line 54:42: F405 'InputData' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 56:61: F405 'OutputData' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 84:14: F405 'InputData' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 99:34: F405 'np' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 107:30: F405 'np' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 109:42: F405 'np' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 118:68: F405 'InputData' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 143:31: F405 'InputData' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 182:64: F405 'InputData' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 182:108: F405 'OutputData' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 216:56: F405 'InputData' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 216:100: F405 'OutputData' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 241:53: F405 'Optional' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 267:31: F405 'InputData' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 271:56: F405 'InputData' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 276:64: F405 'InputData' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 276:108: F405 'OutputData' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 286:53: F405 'Optional' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 299:31: F405 'InputData' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 306:56: F405 'InputData' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 306:100: F405 'OutputData' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 312:64: F405 'InputData' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 312:108: F405 'OutputData' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 322:53: F405 'Optional' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 327:31: F405 'InputData' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 332:31: F405 'InputData' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 339:39: F405 'InputData' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 340:58: F405 'OutputData' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 350:53: F405 'Optional' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 353:31: F405 'InputData' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 359:53: F405 'Optional' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 362:31: F405 'InputData' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 365:56: F405 'InputData' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 365:99: F405 'OutputData' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 371:64: F405 'InputData' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 371:108: F405 'OutputData' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations

Line 10:1: F401 'scipy.stats' imported but unused Line 12:1: F401 'tqdm.tqdm' imported but unused Line 98:9: E704 multiple statements on one line (def) Line 103:9: E704 multiple statements on one line (def) Line 107:9: E704 multiple statements on one line (def) Line 118:9: E704 multiple statements on one line (def) Line 121:9: E704 multiple statements on one line (def) Line 125:9: E704 multiple statements on one line (def) Line 130:9: E704 multiple statements on one line (def) Line 170:9: E704 multiple statements on one line (def)

Line 61:9: E704 multiple statements on one line (def) Line 63:9: E704 multiple statements on one line (def)

Line 20:49: E225 missing whitespace around operator Line 65:9: E704 multiple statements on one line (def)

Line 21:1: F403 'from fedot_ind.core.models.topological.topofeatures import ' used; unable to detect undefined names Line 21:1: F401 'fedot_ind.core.models.topological.topofeatures.' imported but unused

Line 2:1: F401 'typing.Iterable' imported but unused Line 38:1: E302 expected 2 blank lines, found 0

Line 64:42: F821 undefined name 'GPAlgorithmParameters' Line 344:36: E127 continuation line over-indented for visual indent Line 346:37: E127 continuation line over-indented for visual indent Line 510:5: F841 local variable 'other' is assigned to but never used Line 523:17: F841 local variable 'parent_operation' is assigned to but never used Line 525:21: E125 continuation line with same indent as next logical line

Line 14:1: F403 'from fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations import *' used; unable to detect undefined names Line 67:36: F405 'PCAImplementation' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 68:41: F405 'FastICAImplementation' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 69:46: F405 'PolyFeaturesImplementation' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 125:20: F405 'ScalingImplementation' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 126:26: F405 'NormalizationImplementation' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 128:30: F405 'ImputationImplementation' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 130:23: F405 'KernelPCAImplementation' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 239:32: E131 continuation line unaligned for hanging indent

Line 60:111: E231 missing whitespace after ','

Line 9:1: F401 'datasetsforecast.m4.M4' imported but unused Line 50:80: E271 multiple spaces after keyword Line 75:30: F541 f-string is missing placeholders Line 101:26: F541 f-string is missing placeholders Line 227:25: F841 local variable 'problem_name' is assigned to but never used Line 267:29: F841 local variable 'univariate' is assigned to but never used Line 302:25: F841 local variable 'class_label_list' is assigned to but never used Line 346:59: E126 continuation line over-indented for hanging indent Line 475:53: W503 line break before binary operator Line 486:53: W503 line break before binary operator Line 525:53: W503 line break before binary operator Line 620:68: E126 continuation line over-indented for hanging indent Line 620:121: E501 line too long (143 > 120 characters) Line 648:60: E126 continuation line over-indented for hanging indent Line 648:121: E501 line too long (135 > 120 characters) Line 693:33: F841 local variable 'ex' is assigned to but never used Line 700:33: F841 local variable 'ex' is assigned to but never used Line 709:45: E126 continuation line over-indented for hanging indent

Comment last updated at 2024-02-15 12:30:25 UTC
codecov[bot] commented 4 months ago

Codecov Report

Attention: 155 lines in your changes are missing coverage. Please review.

Comparison is base (bb35305) 56.65% compared to head (66e99c7) 56.14%.

Files Patch % Lines
...t_ind/core/models/ts_forecasting/ssa_forecaster.py 40.57% 41 Missing :warning:
fedot_ind/api/utils/recurrent_image.py 0.00% 27 Missing :warning:
fedot_ind/api/main.py 77.35% 12 Missing :warning:
...core/operation/transformation/basis/eigen_basis.py 58.33% 10 Missing :warning:
fedot_ind/tools/loader.py 33.33% 10 Missing :warning:
.../core/architecture/preprocessing/data_convertor.py 11.11% 8 Missing :warning:
...ind/core/operation/transformation/basis/wavelet.py 0.00% 8 Missing :warning:
...t_ind/core/models/nn/network_impl/base_nn_model.py 50.00% 7 Missing :warning:
fedot_ind/core/models/nn/network_impl/resnet.py 46.15% 7 Missing :warning:
fedot_ind/api/utils/checkers_collections.py 50.00% 6 Missing :warning:
... and 6 more
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #118 +/- ## ========================================== - Coverage 56.65% 56.14% -0.51% ========================================== Files 105 102 -3 Lines 8940 8946 +6 ========================================== - Hits 5065 5023 -42 - Misses 3875 3923 +48 ``` | [Flag](https://app.codecov.io/gh/aimclub/Fedot.Industrial/pull/118/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aimclub) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/aimclub/Fedot.Industrial/pull/118/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aimclub) | `56.14% <49.34%> (-0.51%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aimclub#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.