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

fix nn loss, fix model selecting #123

Closed v1docq closed 4 months ago

pep8speaks commented 4 months ago

Thanks for update, @v1docq!

Line 105:34: E231 missing whitespace after ','

Line 5:1: F401 'scipy' imported but unused Line 6:1: F401 'sklearn' imported but unused

Line 12:1: F401 'fedot.core.pipelines.tuning.tuner_builder.TunerBuilder' imported but unused Line 21:1: F401 'fedot_ind.core.repository.constanst_repository.FEDOT_HEAD_ENSEMBLE' imported but unused Line 149:32: F841 local variable 'n_classes' is assigned to but never used Line 150:44: E127 continuation line over-indented for visual indent Line 151:44: E127 continuation line over-indented for visual indent Line 169:79: E127 continuation line over-indented for visual indent Line 397:54: F541 f-string is missing placeholders

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 10:1: F401 'fedot_ind.core.repository.constanst_repository.FEDOT_ENSEMBLE_ASSUMPTIONS' imported but unused Line 89:55: W503 line break before binary operator Line 90:9: E265 block comment should start with '# ' Line 90:121: E501 line too long (126 > 120 characters)

Line 16:1: F403 'from fedot_ind.core.metrics.metrics_implementation import ' used; unable to detect undefined names Line 16:1: F401 'fedot_ind.core.metrics.metrics_implementation.' imported but unused

Line 46:121: E501 line too long (121 > 120 characters)

Line 125:9: E704 multiple statements on one line (def) Line 128:9: E704 multiple statements on one line (def) Line 132:9: E704 multiple statements on one line (def) Line 137:9: E704 multiple statements on one line (def)

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

Line 4:1: F401 'fedot.core.data.merge.data_merger.DataMerger' imported but unused Line 15:1: F401 'typing.Tuple' imported but unused Line 15:1: F401 'typing.Sequence' imported but unused Line 15:1: F401 'typing.Dict' imported but unused Line 16:1: F401 'golem.core.optimisers.timer.Timer' imported but unused Line 18:1: F401 'fedot.core.pipelines.node.PipelineNode' imported but unused

Line 78:9: F841 local variable 'MutationStrengthEnum' is assigned to but never used

Line 14:1: F403 'from fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations import *' used; unable to detect undefined names Line 19:5: E116 unexpected indentation (comment) Line 69:36: F405 'PCAImplementation' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 70:41: F405 'FastICAImplementation' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 71:46: F405 'PolyFeaturesImplementation' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 127:20: F405 'ScalingImplementation' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 128:26: F405 'NormalizationImplementation' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 130:30: F405 'ImputationImplementation' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations Line 132:23: F405 'KernelPCAImplementation' may be undefined, or defined from star imports: fedot.core.operations.evaluation.operation_implementations.data_operations.sklearn_transformations

Line 82:9: E123 closing bracket does not match indentation of opening bracket's line Line 116:9: E123 closing bracket does not match indentation of opening bracket's line Line 132:9: E123 closing bracket does not match indentation of opening bracket's line Line 154:9: E123 closing bracket does not match indentation of opening bracket's line Line 160:9: E123 closing bracket does not match indentation of opening bracket's line Line 166:9: E123 closing bracket does not match indentation of opening bracket's line Line 184:9: E123 closing bracket does not match indentation of opening bracket's line Line 202:9: E123 closing bracket does not match indentation of opening bracket's line Line 220:9: E123 closing bracket does not match indentation of opening bracket's line Line 238:9: E123 closing bracket does not match indentation of opening bracket's line Line 252:9: E123 closing bracket does not match indentation of opening bracket's line Line 270:9: E123 closing bracket does not match indentation of opening bracket's line Line 284:9: E123 closing bracket does not match indentation of opening bracket's line Line 298:9: E123 closing bracket does not match indentation of opening bracket's line Line 312:9: E123 closing bracket does not match indentation of opening bracket's line Line 326:9: E123 closing bracket does not match indentation of opening bracket's line Line 344:9: E123 closing bracket does not match indentation of opening bracket's line Line 360:9: E123 closing bracket does not match indentation of opening bracket's line Line 370:9: E123 closing bracket does not match indentation of opening bracket's line Line 392:9: E123 closing bracket does not match indentation of opening bracket's line Line 417:9: E123 closing bracket does not match indentation of opening bracket's line Line 459:9: E123 closing bracket does not match indentation of opening bracket's line Line 475:9: E123 closing bracket does not match indentation of opening bracket's line Line 481:9: E123 closing bracket does not match indentation of opening bracket's line Line 491:9: E123 closing bracket does not match indentation of opening bracket's line Line 501:9: E123 closing bracket does not match indentation of opening bracket's line Line 519:9: E123 closing bracket does not match indentation of opening bracket's line Line 537:9: E123 closing bracket does not match indentation of opening bracket's line Line 551:9: E123 closing bracket does not match indentation of opening bracket's line Line 565:9: E123 closing bracket does not match indentation of opening bracket's line Line 575:9: E123 closing bracket does not match indentation of opening bracket's line Line 585:9: E123 closing bracket does not match indentation of opening bracket's line Line 595:9: E123 closing bracket does not match indentation of opening bracket's line Line 601:9: E123 closing bracket does not match indentation of opening bracket's line Line 607:9: E123 closing bracket does not match indentation of opening bracket's line Line 621:9: E123 closing bracket does not match indentation of opening bracket's line Line 627:9: E123 closing bracket does not match indentation of opening bracket's line Line 633:9: E123 closing bracket does not match indentation of opening bracket's line Line 647:9: E123 closing bracket does not match indentation of opening bracket's line Line 653:9: E123 closing bracket does not match indentation of opening bracket's line Line 683:9: E123 closing bracket does not match indentation of opening bracket's line Line 709:9: E123 closing bracket does not match indentation of opening bracket's line Line 731:9: E123 closing bracket does not match indentation of opening bracket's line Line 753:9: E123 closing bracket does not match indentation of opening bracket's line Line 767:9: E123 closing bracket does not match indentation of opening bracket's line Line 777:9: E123 closing bracket does not match indentation of opening bracket's line Line 783:9: E123 closing bracket does not match indentation of opening bracket's line Line 789:9: E123 closing bracket does not match indentation of opening bracket's line Line 796:9: E123 closing bracket does not match indentation of opening bracket's line Line 810:9: E123 closing bracket does not match indentation of opening bracket's line

Comment last updated at 2024-03-04 15:03:43 UTC
codecov[bot] commented 4 months ago

Codecov Report

Attention: Patch coverage is 43.05556% with 41 lines in your changes are missing coverage. Please review.

Project coverage is 56.19%. Comparing base (a473df9) to head (e4de150). Report is 1 commits behind head on main.

Files Patch % Lines
fedot_ind/api/main.py 30.55% 25 Missing :warning:
...t_ind/core/models/nn/network_impl/base_nn_model.py 11.11% 8 Missing :warning:
fedot_ind/core/ensemble/random_automl_forest.py 0.00% 5 Missing :warning:
...core/operation/transformation/basis/eigen_basis.py 50.00% 2 Missing :warning:
...on/interfaces/industrial_preprocessing_strategy.py 50.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #123 +/- ## ========================================== - Coverage 56.28% 56.19% -0.09% ========================================== Files 102 102 Lines 9004 9018 +14 ========================================== Hits 5068 5068 - Misses 3936 3950 +14 ``` | [Flag](https://app.codecov.io/gh/aimclub/Fedot.Industrial/pull/123/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/123/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aimclub) | `56.19% <43.05%> (-0.09%)` | :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.