************* Module uqmodels.UQModel uqmodels/UQModel.py:1:0: C0114: Missing module docstring (missing-module-docstring) uqmodels/UQModel.py:16:0: R0902: Too many instance attributes (19/15) (too-many-instance-attributes) uqmodels/UQModel.py:22:4: W0102: Dangerous default value dict() (builtins.dict) as argument (dangerous-default-value) uqmodels/UQModel.py:22:4: R0917: Too many positional arguments (14/5) (too-many-positional-arguments) uqmodels/UQModel.py:91:8: C0206: Consider iterating with .items() (consider-using-dict-items) uqmodels/UQModel.py:91:23: C0201: Consider iterating the dictionary directly instead of calling .keys() (consider-iterating-dictionary) uqmodels/UQModel.py:135:12: C2801: Unnecessarily calls dunder method __setattr__. Set attribute directly or use setattr built-in function. (unnecessary-dunder-call) uqmodels/UQModel.py:135:34: C2801: Unnecessarily calls dunder method __getattribute__. Access attribute directly or use getattr built-in function. (unnecessary-dunder-call) uqmodels/UQModel.py:320:23: W0212: Access to a protected member _format of a client class (protected-access) uqmodels/UQModel.py:332:26: E0601: Using variable 'generator' before assignment (used-before-assignment) uqmodels/UQModel.py:262:4: R0912: Too many branches (13/12) (too-many-branches) uqmodels/UQModel.py:316:36: W0612: Unused variable 'w_' (unused-variable) uqmodels/UQModel.py:447:48: E0601: Using variable 'generator' before assignment (used-before-assignment) uqmodels/UQModel.py:574:23: W0212: Access to a protected member _format of a client class (protected-access) uqmodels/UQModel.py:581:48: E0601: Using variable 'generator' before assignment (used-before-assignment) uqmodels/UQModel.py:570:36: W0612: Unused variable 'w_' (unused-variable) ************* Module uqmodels.utils uqmodels/utils.py:1:0: C0114: Missing module docstring (missing-module-docstring) uqmodels/utils.py:18:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/utils.py:32:4: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return) uqmodels/utils.py:52:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/utils.py:146:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/utils.py:176:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/utils.py:195:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/utils.py:207:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/utils.py:217:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/utils.py:222:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/utils.py:226:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/utils.py:236:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/utils.py:291:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/utils.py:291:68: W0613: Unused argument 'name' (unused-argument) uqmodels/utils.py:378:4: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return) uqmodels/utils.py:384:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/utils.py:396:33: W0613: Unused argument 'reduc_filter' (unused-argument) uqmodels/utils.py:445:0: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) uqmodels/utils.py:445:0: R0912: Too many branches (17/12) (too-many-branches) uqmodels/utils.py:539:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/utils.py:577:0: R0917: Too many positional arguments (8/5) (too-many-positional-arguments) uqmodels/utils.py:618:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/utils.py:625:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/utils.py:632:0: C0115: Missing class docstring (missing-class-docstring) uqmodels/utils.py:664:4: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/utils.py:664:4: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) uqmodels/utils.py:665:0: W0613: Unused argument 'kwargs' (unused-argument) uqmodels/utils.py:737:4: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/utils.py:737:4: R1710: Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements) uqmodels/utils.py:737:0: W0613: Unused argument 'kwargs' (unused-argument) uqmodels/utils.py:767:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/utils.py:768:29: C0201: Consider iterating the dictionary directly instead of calling .keys() (consider-iterating-dictionary) uqmodels/utils.py:767:59: W0613: Unused argument 'fit' (unused-argument) uqmodels/utils.py:795:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/utils.py:822:24: W0622: Redefining built-in 'filter' (redefined-builtin) uqmodels/utils.py:835:4: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return) ************* Module uqmodels.processing uqmodels/processing.py:326:0: C0325: Unnecessary parens after 'not' keyword (superfluous-parens) uqmodels/processing.py:1:0: C0114: Missing module docstring (missing-module-docstring) uqmodels/processing.py:19:0: C0115: Missing class docstring (missing-class-docstring) uqmodels/processing.py:42:4: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return) uqmodels/processing.py:48:0: C0115: Missing class docstring (missing-class-docstring) uqmodels/processing.py:49:4: W0237: Parameter 'o' has been renamed to 'obj' in overriding 'MyEncoder.default' method (arguments-renamed) uqmodels/processing.py:50:8: R1705: Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return) uqmodels/processing.py:65:19: W0718: Catching too general exception BaseException (broad-exception-caught) uqmodels/processing.py:64:23: R1725: Consider using Python 3 style super() without arguments (super-with-arguments) uqmodels/processing.py:49:4: R0911: Too many return statements (8/6) (too-many-return-statements) uqmodels/processing.py:91:28: R1732: Consider using 'with' for resource-allocating operations (consider-using-with) uqmodels/processing.py:94:13: W1514: Using open without explicitly specifying an encoding (unspecified-encoding) uqmodels/processing.py:102:15: W1514: Using open without explicitly specifying an encoding (unspecified-encoding) uqmodels/processing.py:102:15: R1732: Consider using 'with' for resource-allocating operations (consider-using-with) uqmodels/processing.py:153:15: W1514: Using open without explicitly specifying an encoding (unspecified-encoding) uqmodels/processing.py:158:29: R1732: Consider using 'with' for resource-allocating operations (consider-using-with) uqmodels/processing.py:153:15: R1732: Consider using 'with' for resource-allocating operations (consider-using-with) uqmodels/processing.py:185:7: E0606: Possibly using variable 'mode' before assignment (possibly-used-before-assignment) uqmodels/processing.py:169:0: W0613: Unused argument 'kwargs' (unused-argument) uqmodels/processing.py:225:7: E0606: Possibly using variable 'mode' before assignment (possibly-used-before-assignment) uqmodels/processing.py:227:8: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return) uqmodels/processing.py:210:0: R0912: Too many branches (15/12) (too-many-branches) uqmodels/processing.py:210:0: R1710: Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements) uqmodels/processing.py:210:0: W0613: Unused argument 'kwargs' (unused-argument) uqmodels/processing.py:256:0: C0115: Missing class docstring (missing-class-docstring) uqmodels/processing.py:332:11: C1803: "x == []" can be simplified to "not x", if it is strictly a sequence, as an empty list is falsey (use-implicit-booleaness-not-comparison) uqmodels/processing.py:340:0: C0115: Missing class docstring (missing-class-docstring) uqmodels/processing.py:341:4: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) uqmodels/processing.py:394:12: W0707: Consider explicitly re-raising using 'except (FileNotFoundError, NotADirectoryError) as exc' and 'raise FileNotFoundError(new_query['storing'], new_query['keys']) from exc' (raise-missing-from) uqmodels/processing.py:470:11: C1803: "x == []" can be simplified to "not x", if it is strictly a sequence, as an empty list is falsey (use-implicit-booleaness-not-comparison) uqmodels/processing.py:479:0: C0115: Missing class docstring (missing-class-docstring) uqmodels/processing.py:493:8: C0206: Consider iterating with .items() (consider-using-dict-items) uqmodels/processing.py:493:23: C0201: Consider iterating the dictionary directly instead of calling .keys() (consider-iterating-dictionary) uqmodels/processing.py:497:4: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/processing.py:511:18: W0613: Unused argument 'data' (unused-argument) uqmodels/processing.py:538:31: W0622: Redefining built-in 'object' (redefined-builtin) uqmodels/processing.py:569:20: W0622: Redefining built-in 'property' (redefined-builtin) uqmodels/processing.py:561:8: R1720: Unnecessary "else" after "raise", remove the "else" and de-indent the code inside it (no-else-raise) uqmodels/processing.py:570:20: C2801: Unnecessarily calls dunder method __setattr__. Set attribute directly or use setattr built-in function. (unnecessary-dunder-call) uqmodels/processing.py:573:16: W0707: Consider explicitly re-raising using 'except BaseException as exc' and 'raise FileNotFoundError from exc' (raise-missing-from) uqmodels/processing.py:604:8: R1720: Unnecessary "else" after "raise", remove the "else" and de-indent the code inside it (no-else-raise) uqmodels/processing.py:612:16: W0707: Consider explicitly re-raising using 'except (FileNotFoundError, NotADirectoryError) as exc' and 'raise FileNotFoundError from exc' (raise-missing-from) uqmodels/processing.py:618:0: C0115: Missing class docstring (missing-class-docstring) uqmodels/processing.py:620:4: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/processing.py:621:67: W0613: Unused argument 'skip_cache' (unused-argument) uqmodels/processing.py:666:23: W0718: Catching too general exception BaseException (broad-exception-caught) uqmodels/processing.py:660:16: W0612: Unused variable 'n' (unused-variable) uqmodels/processing.py:755:49: E0606: Possibly using variable 'X' before assignment (possibly-used-before-assignment) uqmodels/processing.py:755:52: E0606: Possibly using variable 'y' before assignment (possibly-used-before-assignment) uqmodels/processing.py:680:4: R0912: Too many branches (19/12) (too-many-branches) ************* Module uqmodels.check uqmodels/check.py:1:0: C0114: Missing module docstring (missing-module-docstring) ************* Module uqmodels.custom_UQModel uqmodels/custom_UQModel.py:888:0: C0325: Unnecessary parens after 'not' keyword (superfluous-parens) uqmodels/custom_UQModel.py:1:0: C0114: Missing module docstring (missing-module-docstring) uqmodels/custom_UQModel.py:42:0: C0115: Missing class docstring (missing-class-docstring) uqmodels/custom_UQModel.py:43:4: E0101: Explicit return in __init__ (return-in-init) uqmodels/custom_UQModel.py:43:4: R0917: Too many positional arguments (10/5) (too-many-positional-arguments) uqmodels/custom_UQModel.py:129:12: W0621: Redefining name 'type_output' from outer scope (line 37) (redefined-outer-name) uqmodels/custom_UQModel.py:163:27: W0109: Duplicate key 'reduc_filter' in dictionary (duplicate-key) uqmodels/custom_UQModel.py:172:8: E1111: Assigning result of a function call, where the function has no return (assignment-from-no-return) uqmodels/custom_UQModel.py:173:12: E0606: Possibly using variable 'UQEstimator_initializer' before assignment (possibly-used-before-assignment) uqmodels/custom_UQModel.py:174:12: E0601: Using variable 'UQEstimator_parameters' before assignment (used-before-assignment) uqmodels/custom_UQModel.py:50:8: W0613: Unused argument 'reduc_coef' (unused-argument) uqmodels/custom_UQModel.py:83:12: W0612: Unused variable 'y_' (unused-variable) uqmodels/custom_UQModel.py:187:0: C0115: Missing class docstring (missing-class-docstring) uqmodels/custom_UQModel.py:188:4: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/custom_UQModel.py:188:4: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/custom_UQModel.py:188:4: R0917: Too many positional arguments (18/5) (too-many-positional-arguments) uqmodels/custom_UQModel.py:290:4: R0917: Too many positional arguments (13/5) (too-many-positional-arguments) uqmodels/custom_UQModel.py:407:39: E0606: Possibly using variable 'size_data' before assignment (possibly-used-before-assignment) uqmodels/custom_UQModel.py:423:4: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) uqmodels/custom_UQModel.py:486:4: W0221: Variadics removed in overriding 'MultiDEEPUQModel.predict' method (arguments-differ) uqmodels/custom_UQModel.py:536:15: E0606: Possibly using variable 'loaded_data' before assignment (possibly-used-before-assignment) uqmodels/custom_UQModel.py:524:0: W0613: Unused argument 'kwargs' (unused-argument) uqmodels/custom_UQModel.py:538:4: W0221: Number of parameters was 5 in 'UQModel.score' and is now 4 in overriding 'MultiDEEPUQModel.score' method (arguments-differ) uqmodels/custom_UQModel.py:599:4: R0917: Too many positional arguments (15/5) (too-many-positional-arguments) uqmodels/custom_UQModel.py:705:4: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) uqmodels/custom_UQModel.py:736:16: W0212: Access to a protected member _tuning of a client class (protected-access) uqmodels/custom_UQModel.py:773:15: E0606: Possibly using variable 'loaded_data' before assignment (possibly-used-before-assignment) uqmodels/custom_UQModel.py:775:4: W0222: Signature differs from overridden 'fit' method (signature-differs) uqmodels/custom_UQModel.py:804:4: W0237: Parameter 'shuffle' has been renamed to 'skip_UQEstimator' in overriding 'MultiUQModel.fit_with_generator' method (arguments-renamed) uqmodels/custom_UQModel.py:855:4: W0237: Parameter 'name_save' has been renamed to 'recovers_at_end' in overriding 'MultiUQModel.predict' method (arguments-renamed) uqmodels/custom_UQModel.py:951:4: W0221: Number of parameters was 5 in 'UQModel.score' and is now 4 in overriding 'MultiUQModel.score' method (arguments-differ) ************* Module uqmodels.postprocessing.anomaly_processing uqmodels/postprocessing/anomaly_processing.py:1:0: C0114: Missing module docstring (missing-module-docstring) uqmodels/postprocessing/anomaly_processing.py:40:0: R0917: Too many positional arguments (8/5) (too-many-positional-arguments) uqmodels/postprocessing/anomaly_processing.py:40:0: R0912: Too many branches (16/12) (too-many-branches) uqmodels/postprocessing/anomaly_processing.py:166:0: R0917: Too many positional arguments (9/5) (too-many-positional-arguments) uqmodels/postprocessing/anomaly_processing.py:234:8: W0104: Statement seems to have no effect (pointless-statement) uqmodels/postprocessing/anomaly_processing.py:256:0: R0917: Too many positional arguments (13/5) (too-many-positional-arguments) uqmodels/postprocessing/anomaly_processing.py:362:0: R0917: Too many positional arguments (9/5) (too-many-positional-arguments) uqmodels/postprocessing/anomaly_processing.py:489:0: R0917: Too many positional arguments (23/5) (too-many-positional-arguments) uqmodels/postprocessing/anomaly_processing.py:490:0: W0613: Unused argument 'kwargs' (unused-argument) uqmodels/postprocessing/anomaly_processing.py:605:0: R0917: Too many positional arguments (26/5) (too-many-positional-arguments) uqmodels/postprocessing/anomaly_processing.py:816:4: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return) uqmodels/postprocessing/anomaly_processing.py:605:0: R0912: Too many branches (14/12) (too-many-branches) uqmodels/postprocessing/anomaly_processing.py:852:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/postprocessing/anomaly_processing.py:852:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/postprocessing/anomaly_processing.py:852:0: R0917: Too many positional arguments (9/5) (too-many-positional-arguments) uqmodels/postprocessing/anomaly_processing.py:853:0: W0613: Unused argument 'kwargs' (unused-argument) uqmodels/postprocessing/anomaly_processing.py:890:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/postprocessing/anomaly_processing.py:890:0: R0917: Too many positional arguments (11/5) (too-many-positional-arguments) uqmodels/postprocessing/anomaly_processing.py:891:0: W0613: Unused argument 'kwargs' (unused-argument) ************* Module uqmodels.postprocessing.UQ_processing uqmodels/postprocessing/UQ_processing.py:980:0: C0325: Unnecessary parens after 'raise' keyword (superfluous-parens) uqmodels/postprocessing/UQ_processing.py:1072:0: C0325: Unnecessary parens after 'raise' keyword (superfluous-parens) uqmodels/postprocessing/UQ_processing.py:1:0: C0302: Too many lines in module (1140/1000) (too-many-lines) uqmodels/postprocessing/UQ_processing.py:1:0: C0114: Missing module docstring (missing-module-docstring) uqmodels/postprocessing/UQ_processing.py:26:8: R1705: Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return) uqmodels/postprocessing/UQ_processing.py:13:0: R1710: Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements) uqmodels/postprocessing/UQ_processing.py:75:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/postprocessing/UQ_processing.py:75:0: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) uqmodels/postprocessing/UQ_processing.py:120:0: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) uqmodels/postprocessing/UQ_processing.py:184:0: R0917: Too many positional arguments (15/5) (too-many-positional-arguments) uqmodels/postprocessing/UQ_processing.py:187:4: W0613: Unused argument 'pred' (unused-argument) uqmodels/postprocessing/UQ_processing.py:188:4: W0613: Unused argument 'y' (unused-argument) uqmodels/postprocessing/UQ_processing.py:189:4: W0613: Unused argument 'type_UQ_params' (unused-argument) uqmodels/postprocessing/UQ_processing.py:265:0: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) uqmodels/postprocessing/UQ_processing.py:303:18: E0606: Possibly using variable 'rescale_val' before assignment (possibly-used-before-assignment) uqmodels/postprocessing/UQ_processing.py:326:0: R0917: Too many positional arguments (11/5) (too-many-positional-arguments) uqmodels/postprocessing/UQ_processing.py:330:4: W0613: Unused argument 'y' (unused-argument) uqmodels/postprocessing/UQ_processing.py:420:0: R0917: Too many positional arguments (17/5) (too-many-positional-arguments) uqmodels/postprocessing/UQ_processing.py:423:4: W0613: Unused argument 'pred' (unused-argument) uqmodels/postprocessing/UQ_processing.py:424:4: W0613: Unused argument 'y' (unused-argument) uqmodels/postprocessing/UQ_processing.py:426:4: W0613: Unused argument 'var_min' (unused-argument) uqmodels/postprocessing/UQ_processing.py:427:4: W0613: Unused argument 'var_max' (unused-argument) uqmodels/postprocessing/UQ_processing.py:421:0: W0613: Unused argument 'kwargs' (unused-argument) uqmodels/postprocessing/UQ_processing.py:501:0: R0917: Too many positional arguments (21/5) (too-many-positional-arguments) uqmodels/postprocessing/UQ_processing.py:656:20: E0606: Possibly using variable 'UQ_bot' before assignment (possibly-used-before-assignment) uqmodels/postprocessing/UQ_processing.py:666:29: E0606: Possibly using variable 'UQ_top' before assignment (possibly-used-before-assignment) uqmodels/postprocessing/UQ_processing.py:684:4: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return) uqmodels/postprocessing/UQ_processing.py:501:0: R0912: Too many branches (23/12) (too-many-branches) uqmodels/postprocessing/UQ_processing.py:501:0: R0915: Too many statements (73/50) (too-many-statements) uqmodels/postprocessing/UQ_processing.py:690:0: R0917: Too many positional arguments (13/5) (too-many-positional-arguments) uqmodels/postprocessing/UQ_processing.py:779:8: E0601: Using variable 'gaussian_quantile' before assignment (used-before-assignment) uqmodels/postprocessing/UQ_processing.py:784:0: R0917: Too many positional arguments (15/5) (too-many-positional-arguments) uqmodels/postprocessing/UQ_processing.py:787:4: W0613: Unused argument 'pred' (unused-argument) uqmodels/postprocessing/UQ_processing.py:788:4: W0613: Unused argument 'y' (unused-argument) uqmodels/postprocessing/UQ_processing.py:785:0: W0613: Unused argument 'kwargs' (unused-argument) uqmodels/postprocessing/UQ_processing.py:847:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/postprocessing/UQ_processing.py:847:0: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) uqmodels/postprocessing/UQ_processing.py:848:4: W0613: Unused argument 'UQ' (unused-argument) uqmodels/postprocessing/UQ_processing.py:849:4: W0613: Unused argument 'type_UQ' (unused-argument) uqmodels/postprocessing/UQ_processing.py:850:4: W0613: Unused argument 'pred' (unused-argument) uqmodels/postprocessing/UQ_processing.py:851:4: W0613: Unused argument 'y' (unused-argument) uqmodels/postprocessing/UQ_processing.py:852:4: W0613: Unused argument 'list_alpha' (unused-argument) uqmodels/postprocessing/UQ_processing.py:853:4: W0613: Unused argument 'type_UQ_params' (unused-argument) uqmodels/postprocessing/UQ_processing.py:854:4: W0613: Unused argument 'reduc_filter' (unused-argument) uqmodels/postprocessing/UQ_processing.py:848:0: W0613: Unused argument 'kwargs' (unused-argument) uqmodels/postprocessing/UQ_processing.py:879:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/postprocessing/UQ_processing.py:879:0: R0917: Too many positional arguments (13/5) (too-many-positional-arguments) uqmodels/postprocessing/UQ_processing.py:880:0: W0613: Unused argument 'kwargs' (unused-argument) uqmodels/postprocessing/UQ_processing.py:949:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/postprocessing/UQ_processing.py:949:0: R0917: Too many positional arguments (14/5) (too-many-positional-arguments) uqmodels/postprocessing/UQ_processing.py:962:4: W0613: Unused argument 'mode' (unused-argument) uqmodels/postprocessing/UQ_processing.py:950:0: W0613: Unused argument 'kwargs' (unused-argument) uqmodels/postprocessing/UQ_processing.py:1031:8: W0612: Unused variable 'n' (unused-variable) uqmodels/postprocessing/UQ_processing.py:1038:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/postprocessing/UQ_processing.py:1038:0: R0917: Too many positional arguments (15/5) (too-many-positional-arguments) uqmodels/postprocessing/UQ_processing.py:1130:4: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return) ************* Module uqmodels.postprocessing.UQKPI_Processor uqmodels/postprocessing/UQKPI_Processor.py:147:0: C0325: Unnecessary parens after 'not' keyword (superfluous-parens) uqmodels/postprocessing/UQKPI_Processor.py:202:0: C0325: Unnecessary parens after 'not' keyword (superfluous-parens) uqmodels/postprocessing/UQKPI_Processor.py:1:0: C0114: Missing module docstring (missing-module-docstring) uqmodels/postprocessing/UQKPI_Processor.py:21:4: W0102: Dangerous default value {} as argument (dangerous-default-value) uqmodels/postprocessing/UQKPI_Processor.py:47:4: W0237: Parameter 'data' has been renamed to 'UQ' in overriding 'UQKPI_Processor.fit' method (arguments-renamed) uqmodels/postprocessing/UQKPI_Processor.py:47:4: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) uqmodels/postprocessing/UQKPI_Processor.py:48:14: W0613: Unused argument 'UQ' (unused-argument) uqmodels/postprocessing/UQKPI_Processor.py:48:37: W0613: Unused argument 'pred' (unused-argument) uqmodels/postprocessing/UQKPI_Processor.py:48:48: W0613: Unused argument 'y' (unused-argument) uqmodels/postprocessing/UQKPI_Processor.py:48:56: W0613: Unused argument 'type_UQ_params' (unused-argument) uqmodels/postprocessing/UQKPI_Processor.py:48:0: W0613: Unused argument 'kwargs' (unused-argument) uqmodels/postprocessing/UQKPI_Processor.py:63:4: W0237: Parameter 'data' has been renamed to 'UQ' in overriding 'UQKPI_Processor.transform' method (arguments-renamed) uqmodels/postprocessing/UQKPI_Processor.py:63:4: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) uqmodels/postprocessing/UQKPI_Processor.py:64:48: W0613: Unused argument 'y' (unused-argument) uqmodels/postprocessing/UQKPI_Processor.py:64:56: W0613: Unused argument 'type_UQ_params' (unused-argument) uqmodels/postprocessing/UQKPI_Processor.py:64:0: W0613: Unused argument 'kwargs' (unused-argument) uqmodels/postprocessing/UQKPI_Processor.py:108:4: W0102: Dangerous default value {} as argument (dangerous-default-value) uqmodels/postprocessing/UQKPI_Processor.py:131:4: W0222: Signature differs from overridden 'fit' method (signature-differs) uqmodels/postprocessing/UQKPI_Processor.py:131:4: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) uqmodels/postprocessing/UQKPI_Processor.py:179:4: W0222: Signature differs from overridden 'transform' method (signature-differs) uqmodels/postprocessing/UQKPI_Processor.py:179:4: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) uqmodels/postprocessing/UQKPI_Processor.py:237:4: W0102: Dangerous default value {} as argument (dangerous-default-value) uqmodels/postprocessing/UQKPI_Processor.py:253:4: W0222: Signature differs from overridden 'fit' method (signature-differs) uqmodels/postprocessing/UQKPI_Processor.py:253:4: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) uqmodels/postprocessing/UQKPI_Processor.py:269:4: W0222: Signature differs from overridden 'transform' method (signature-differs) uqmodels/postprocessing/UQKPI_Processor.py:269:4: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) uqmodels/postprocessing/UQKPI_Processor.py:300:4: W0102: Dangerous default value dict() (builtins.dict) as argument (dangerous-default-value) uqmodels/postprocessing/UQKPI_Processor.py:300:56: R1735: Consider using '{}' instead of a call to 'dict'. (use-dict-literal) uqmodels/postprocessing/UQKPI_Processor.py:316:4: W0222: Signature differs from overridden 'fit' method (signature-differs) uqmodels/postprocessing/UQKPI_Processor.py:316:4: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) uqmodels/postprocessing/UQKPI_Processor.py:360:4: W0222: Signature differs from overridden 'transform' method (signature-differs) uqmodels/postprocessing/UQKPI_Processor.py:360:4: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) ************* Module uqmodels.postprocessing.custom_UQKPI_Processor uqmodels/postprocessing/custom_UQKPI_Processor.py:1:0: C0114: Missing module docstring (missing-module-docstring) uqmodels/postprocessing/custom_UQKPI_Processor.py:9:4: W0102: Dangerous default value dict() (builtins.dict) as argument (dangerous-default-value) uqmodels/postprocessing/custom_UQKPI_Processor.py:12:23: R1735: Consider using '{}' instead of a call to 'dict'. (use-dict-literal) uqmodels/postprocessing/custom_UQKPI_Processor.py:41:8: C0206: Consider iterating with .items() (consider-using-dict-items) uqmodels/postprocessing/custom_UQKPI_Processor.py:41:19: C0201: Consider iterating the dictionary directly instead of calling .keys() (consider-iterating-dictionary) uqmodels/postprocessing/custom_UQKPI_Processor.py:55:4: R0917: Too many positional arguments (8/5) (too-many-positional-arguments) uqmodels/postprocessing/custom_UQKPI_Processor.py:82:17: R1728: Consider using a generator instead 'max(len(list_y[source_id]) for source_id in range(n_dim))' (consider-using-generator) uqmodels/postprocessing/custom_UQKPI_Processor.py:176:8: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return) uqmodels/postprocessing/custom_UQKPI_Processor.py:182:4: W0237: Parameter 'UQ' has been renamed to 'list_UQ' in overriding 'Multiscale_Anomscore_processor.fit' method (arguments-renamed) uqmodels/postprocessing/custom_UQKPI_Processor.py:182:4: W0237: Parameter 'pred' has been renamed to 'list_pred' in overriding 'Multiscale_Anomscore_processor.fit' method (arguments-renamed) uqmodels/postprocessing/custom_UQKPI_Processor.py:182:4: W0237: Parameter 'y' has been renamed to 'list_y' in overriding 'Multiscale_Anomscore_processor.fit' method (arguments-renamed) uqmodels/postprocessing/custom_UQKPI_Processor.py:182:4: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) uqmodels/postprocessing/custom_UQKPI_Processor.py:213:4: W0237: Parameter 'UQ' has been renamed to 'list_UQ' in overriding 'Multiscale_Anomscore_processor.transform' method (arguments-renamed) uqmodels/postprocessing/custom_UQKPI_Processor.py:213:4: W0237: Parameter 'pred' has been renamed to 'list_pred' in overriding 'Multiscale_Anomscore_processor.transform' method (arguments-renamed) uqmodels/postprocessing/custom_UQKPI_Processor.py:213:4: W0237: Parameter 'y' has been renamed to 'list_y' in overriding 'Multiscale_Anomscore_processor.transform' method (arguments-renamed) uqmodels/postprocessing/custom_UQKPI_Processor.py:213:4: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) ************* Module uqmodels.preprocessing.preprocessing uqmodels/preprocessing/preprocessing.py:765:0: C0325: Unnecessary parens after 'raise' keyword (superfluous-parens) uqmodels/preprocessing/preprocessing.py:1:0: C0302: Too many lines in module (1091/1000) (too-many-lines) uqmodels/preprocessing/preprocessing.py:19:35: W0622: Redefining built-in 'input' (redefined-builtin) uqmodels/preprocessing/preprocessing.py:45:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/preprocessing/preprocessing.py:61:11: E0606: Possibly using variable 'features_mask' before assignment (possibly-used-before-assignment) uqmodels/preprocessing/preprocessing.py:45:0: W0613: Unused argument 'kwargs' (unused-argument) uqmodels/preprocessing/preprocessing.py:65:0: W0613: Unused argument 'kwargs' (unused-argument) uqmodels/preprocessing/preprocessing.py:103:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/preprocessing/preprocessing.py:129:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/preprocessing/preprocessing.py:136:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/preprocessing/preprocessing.py:154:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/preprocessing/preprocessing.py:156:8: W0612: Unused variable 'i' (unused-variable) uqmodels/preprocessing/preprocessing.py:162:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/preprocessing/preprocessing.py:179:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/preprocessing/preprocessing.py:183:15: W0718: Catching too general exception BaseException (broad-exception-caught) uqmodels/preprocessing/preprocessing.py:191:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/preprocessing/preprocessing.py:192:4: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return) uqmodels/preprocessing/preprocessing.py:196:8: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return) uqmodels/preprocessing/preprocessing.py:238:19: W0718: Catching too general exception BaseException (broad-exception-caught) uqmodels/preprocessing/preprocessing.py:208:8: W0612: Unused variable 'n' (unused-variable) uqmodels/preprocessing/preprocessing.py:251:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/preprocessing/preprocessing.py:283:0: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) uqmodels/preprocessing/preprocessing.py:332:15: E1120: No value for argument 'range_temp' in function call (no-value-for-parameter) uqmodels/preprocessing/preprocessing.py:356:12: R1731: Consider using 'ratio = max(ratio, 1)' instead of unnecessary if block (consider-using-max-builtin) uqmodels/preprocessing/preprocessing.py:439:0: R0917: Too many positional arguments (8/5) (too-many-positional-arguments) uqmodels/preprocessing/preprocessing.py:440:0: W0613: Unused argument 'kwargs' (unused-argument) uqmodels/preprocessing/preprocessing.py:509:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/preprocessing/preprocessing.py:509:0: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) uqmodels/preprocessing/preprocessing.py:535:8: E0702: Raising tuple while only classes or instances are allowed (raising-bad-type) uqmodels/preprocessing/preprocessing.py:510:0: W0613: Unused argument 'kwargs' (unused-argument) uqmodels/preprocessing/preprocessing.py:540:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/preprocessing/preprocessing.py:540:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/preprocessing/preprocessing.py:621:4: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return) uqmodels/preprocessing/preprocessing.py:699:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/preprocessing/preprocessing.py:708:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/preprocessing/preprocessing.py:708:0: W0613: Unused argument 'kwargs' (unused-argument) uqmodels/preprocessing/preprocessing.py:712:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/preprocessing/preprocessing.py:712:0: W0102: Dangerous default value {} as argument (dangerous-default-value) uqmodels/preprocessing/preprocessing.py:712:21: W0613: Unused argument 'map_' (unused-argument) uqmodels/preprocessing/preprocessing.py:718:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/preprocessing/preprocessing.py:727:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/preprocessing/preprocessing.py:734:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/preprocessing/preprocessing.py:738:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/preprocessing/preprocessing.py:742:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/preprocessing/preprocessing.py:750:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/preprocessing/preprocessing.py:765:12: E0702: Raising str while only classes or instances are allowed (raising-bad-type) uqmodels/preprocessing/preprocessing.py:750:0: W0613: Unused argument 'kwargs' (unused-argument) uqmodels/preprocessing/preprocessing.py:774:23: W0613: Unused argument 'X' (unused-argument) uqmodels/preprocessing/preprocessing.py:774:26: W0613: Unused argument 'y' (unused-argument) uqmodels/preprocessing/preprocessing.py:816:4: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/preprocessing/preprocessing.py:830:0: R0917: Too many positional arguments (9/5) (too-many-positional-arguments) uqmodels/preprocessing/preprocessing.py:851:8: R1705: Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return) uqmodels/preprocessing/preprocessing.py:892:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/preprocessing/preprocessing.py:925:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/preprocessing/preprocessing.py:925:23: W0613: Unused argument 'self' (unused-argument) uqmodels/preprocessing/preprocessing.py:925:35: W0613: Unused argument 'query' (unused-argument) uqmodels/preprocessing/preprocessing.py:938:27: W0613: Unused argument 'self' (unused-argument) uqmodels/preprocessing/preprocessing.py:938:39: W0613: Unused argument 'query' (unused-argument) uqmodels/preprocessing/preprocessing.py:1061:0: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) uqmodels/preprocessing/preprocessing.py:1067:18: R1721: Unnecessary use of a comprehension, use list(label_df['source']) instead. (unnecessary-comprehension) uqmodels/preprocessing/preprocessing.py:1083:11: W0612: Unused variable 'name' (unused-variable) uqmodels/preprocessing/preprocessing.py:16:0: C0412: Imports from package sklearn are not grouped (ungrouped-imports) ************* Module uqmodels.preprocessing.structure uqmodels/preprocessing/structure.py:399:0: C0325: Unnecessary parens after 'not' keyword (superfluous-parens) uqmodels/preprocessing/structure.py:14:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/preprocessing/structure.py:18:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/preprocessing/structure.py:21:4: R1705: Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return) uqmodels/preprocessing/structure.py:35:15: W0718: Catching too general exception BaseException (broad-exception-caught) uqmodels/preprocessing/structure.py:38:19: W0718: Catching too general exception BaseException (broad-exception-caught) uqmodels/preprocessing/structure.py:39:16: W0133: Exception statement has no effect (pointless-exception-statement) uqmodels/preprocessing/structure.py:43:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/preprocessing/structure.py:46:4: R1705: Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return) uqmodels/preprocessing/structure.py:57:15: W0718: Catching too general exception BaseException (broad-exception-caught) uqmodels/preprocessing/structure.py:58:12: W0133: Exception statement has no effect (pointless-exception-statement) uqmodels/preprocessing/structure.py:63:0: C0115: Missing class docstring (missing-class-docstring) uqmodels/preprocessing/structure.py:69:8: C0206: Consider iterating with .items() (consider-using-dict-items) uqmodels/preprocessing/structure.py:81:4: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/preprocessing/structure.py:84:4: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/preprocessing/structure.py:84:28: W0613: Unused argument 'str_key' (unused-argument) uqmodels/preprocessing/structure.py:84:0: W0613: Unused argument 'kargs' (unused-argument) uqmodels/preprocessing/structure.py:87:0: W0613: Unused argument 'kwarg' (unused-argument) uqmodels/preprocessing/structure.py:150:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/preprocessing/structure.py:150:16: W0622: Redefining built-in 'str' (redefined-builtin) uqmodels/preprocessing/structure.py:207:0: W0613: Unused argument 'kwarg' (unused-argument) uqmodels/preprocessing/structure.py:256:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/preprocessing/structure.py:256:0: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) uqmodels/preprocessing/structure.py:261:4: W0613: Unused argument 'delta' (unused-argument) uqmodels/preprocessing/structure.py:272:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/preprocessing/structure.py:280:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/preprocessing/structure.py:280:0: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) uqmodels/preprocessing/structure.py:287:14: E0606: Possibly using variable 'mask' before assignment (possibly-used-before-assignment) uqmodels/preprocessing/structure.py:290:52: W0613: Unused argument 'delta_target' (unused-argument) uqmodels/preprocessing/structure.py:306:0: C0115: Missing class docstring (missing-class-docstring) uqmodels/preprocessing/structure.py:320:4: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/preprocessing/structure.py:325:4: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/preprocessing/structure.py:331:0: C0115: Missing class docstring (missing-class-docstring) uqmodels/preprocessing/structure.py:335:4: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) uqmodels/preprocessing/structure.py:341:8: W0613: Unused argument 'date_init' (unused-argument) uqmodels/preprocessing/structure.py:357:4: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/preprocessing/structure.py:362:4: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/preprocessing/structure.py:386:0: C0115: Missing class docstring (missing-class-docstring) uqmodels/preprocessing/structure.py:391:12: C0206: Consider iterating with .items() (consider-using-dict-items) uqmodels/preprocessing/structure.py:391:23: C0201: Consider iterating the dictionary directly instead of calling .keys() (consider-iterating-dictionary) uqmodels/preprocessing/structure.py:415:4: W0221: Variadics removed in overriding 'Multi_source.get_structure' method (arguments-differ) uqmodels/preprocessing/structure.py:419:15: W0718: Catching too general exception BaseException (broad-exception-caught) uqmodels/preprocessing/structure.py:422:4: W0102: Dangerous default value dict() (builtins.dict) as argument (dangerous-default-value) uqmodels/preprocessing/structure.py:422:4: W0221: Variadics removed in overriding 'Multi_source.get' method (arguments-differ) uqmodels/preprocessing/structure.py:422:50: R1735: Consider using '{}' instead of a call to 'dict'. (use-dict-literal) uqmodels/preprocessing/structure.py:423:8: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return) ************* Module uqmodels.preprocessing.utils uqmodels/preprocessing/utils.py:1:0: C0114: Missing module docstring (missing-module-docstring) uqmodels/preprocessing/utils.py:7:35: W0622: Redefining built-in 'input' (redefined-builtin) uqmodels/preprocessing/utils.py:33:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/preprocessing/utils.py:49:11: E0606: Possibly using variable 'features_mask' before assignment (possibly-used-before-assignment) uqmodels/preprocessing/utils.py:33:0: W0613: Unused argument 'kwargs' (unused-argument) uqmodels/preprocessing/utils.py:53:0: W0613: Unused argument 'kwargs' (unused-argument) uqmodels/preprocessing/utils.py:91:0: C0116: Missing function or method docstring (missing-function-docstring) ************* Module uqmodels.preprocessing.tsfresh_utils uqmodels/preprocessing/tsfresh_utils.py:50:4: W0603: Using the global statement (global-statement) uqmodels/preprocessing/tsfresh_utils.py:55:12: C0415: Import outside toplevel (tsfresh) (import-outside-toplevel) uqmodels/preprocessing/tsfresh_utils.py:56:12: C0415: Import outside toplevel (tsfresh.feature_extraction.EfficientFCParameters) (import-outside-toplevel) uqmodels/preprocessing/tsfresh_utils.py:74:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/preprocessing/tsfresh_utils.py:74:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/preprocessing/tsfresh_utils.py:75:0: W1404: Implicit string concatenation found in list (implicit-str-concat) uqmodels/preprocessing/tsfresh_utils.py:78:18: R1735: Consider using '{}' instead of a call to 'dict'. (use-dict-literal) uqmodels/preprocessing/tsfresh_utils.py:77:4: W0612: Unused variable 'tsfresh' (unused-variable) uqmodels/preprocessing/tsfresh_utils.py:86:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/preprocessing/tsfresh_utils.py:86:0: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) uqmodels/preprocessing/tsfresh_utils.py:87:0: W0613: Unused argument 'kwargs' (unused-argument) uqmodels/preprocessing/tsfresh_utils.py:142:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/preprocessing/tsfresh_utils.py:142:0: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) ************* Module uqmodels.preprocessing.features_processing uqmodels/preprocessing/features_processing.py:20:0: R1710: Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements) uqmodels/preprocessing/features_processing.py:51:22: W0613: Unused argument 'context' (unused-argument) uqmodels/preprocessing/features_processing.py:51:0: W0613: Unused argument 'kwargs' (unused-argument) uqmodels/preprocessing/features_processing.py:70:0: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) uqmodels/preprocessing/features_processing.py:99:0: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) uqmodels/preprocessing/features_processing.py:146:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/preprocessing/features_processing.py:151:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/preprocessing/features_processing.py:151:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/preprocessing/features_processing.py:151:0: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) uqmodels/preprocessing/features_processing.py:154:4: W0613: Unused argument 'ind_data' (unused-argument) uqmodels/preprocessing/features_processing.py:183:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/preprocessing/features_processing.py:183:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/preprocessing/features_processing.py:183:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/preprocessing/features_processing.py:183:0: R0917: Too many positional arguments (9/5) (too-many-positional-arguments) uqmodels/preprocessing/features_processing.py:213:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/preprocessing/features_processing.py:213:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/preprocessing/features_processing.py:213:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/preprocessing/features_processing.py:213:0: R0917: Too many positional arguments (8/5) (too-many-positional-arguments) uqmodels/preprocessing/features_processing.py:258:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/preprocessing/features_processing.py:258:0: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) uqmodels/preprocessing/features_processing.py:293:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/preprocessing/features_processing.py:293:0: W0102: Dangerous default value dict() (builtins.dict) as argument (dangerous-default-value) uqmodels/preprocessing/features_processing.py:293:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/preprocessing/features_processing.py:293:0: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) uqmodels/preprocessing/features_processing.py:299:21: R1735: Consider using '{}' instead of a call to 'dict'. (use-dict-literal) uqmodels/preprocessing/features_processing.py:312:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/preprocessing/features_processing.py:312:0: W0102: Dangerous default value dict() (builtins.dict) as argument (dangerous-default-value) uqmodels/preprocessing/features_processing.py:312:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/preprocessing/features_processing.py:312:0: R0917: Too many positional arguments (8/5) (too-many-positional-arguments) uqmodels/preprocessing/features_processing.py:318:21: R1735: Consider using '{}' instead of a call to 'dict'. (use-dict-literal) uqmodels/preprocessing/features_processing.py:318:4: W0613: Unused argument 'estimator_params' (unused-argument) uqmodels/preprocessing/features_processing.py:338:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/preprocessing/features_processing.py:338:0: W0102: Dangerous default value dict() (builtins.dict) as argument (dangerous-default-value) uqmodels/preprocessing/features_processing.py:338:63: R1735: Consider using '{}' instead of a call to 'dict'. (use-dict-literal) uqmodels/preprocessing/features_processing.py:338:0: R0912: Too many branches (28/12) (too-many-branches) uqmodels/preprocessing/features_processing.py:338:0: R0915: Too many statements (64/50) (too-many-statements) uqmodels/preprocessing/features_processing.py:338:0: W0613: Unused argument 'kwargs' (unused-argument) uqmodels/preprocessing/features_processing.py:438:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/preprocessing/features_processing.py:438:0: W0102: Dangerous default value dict() (builtins.dict) as argument (dangerous-default-value) uqmodels/preprocessing/features_processing.py:439:39: R1735: Consider using '{}' instead of a call to 'dict'. (use-dict-literal) uqmodels/preprocessing/features_processing.py:438:0: R0912: Too many branches (20/12) (too-many-branches) uqmodels/preprocessing/features_processing.py:540:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/preprocessing/features_processing.py:540:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/preprocessing/features_processing.py:540:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/preprocessing/features_processing.py:540:0: R0917: Too many positional arguments (10/5) (too-many-positional-arguments) uqmodels/preprocessing/features_processing.py:548:4: W0613: Unused argument 'lags' (unused-argument) uqmodels/preprocessing/features_processing.py:549:4: W0613: Unused argument 'derivs' (unused-argument) uqmodels/preprocessing/features_processing.py:550:4: W0613: Unused argument 'windows' (unused-argument) uqmodels/preprocessing/features_processing.py:541:0: W0613: Unused argument 'kwargs' (unused-argument) uqmodels/preprocessing/features_processing.py:591:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/preprocessing/features_processing.py:591:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/preprocessing/features_processing.py:591:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/preprocessing/features_processing.py:591:0: R0917: Too many positional arguments (11/5) (too-many-positional-arguments) uqmodels/preprocessing/features_processing.py:592:0: W0613: Unused argument 'kwargs' (unused-argument) uqmodels/preprocessing/features_processing.py:659:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/preprocessing/features_processing.py:659:0: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) uqmodels/preprocessing/features_processing.py:660:34: W0613: Unused argument 'ind_context' (unused-argument) uqmodels/preprocessing/features_processing.py:660:68: W0613: Unused argument 'lags' (unused-argument) uqmodels/preprocessing/features_processing.py:660:0: W0613: Unused argument 'kwargs' (unused-argument) uqmodels/preprocessing/features_processing.py:682:0: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) uqmodels/preprocessing/features_processing.py:683:0: W0613: Unused argument 'kwargs' (unused-argument) ************* Module uqmodels.preprocessing.Custom_Preprocessor uqmodels/preprocessing/Custom_Preprocessor.py:1:0: C0114: Missing module docstring (missing-module-docstring) uqmodels/preprocessing/Custom_Preprocessor.py:15:0: C0115: Missing class docstring (missing-class-docstring) uqmodels/preprocessing/Custom_Preprocessor.py:20:4: W0221: Number of parameters was 4 in 'Preprocessor.fit' and is now 3 in overriding 'dict_to_TS_Dataset.fit' method (arguments-differ) uqmodels/preprocessing/Custom_Preprocessor.py:24:4: W0222: Signature differs from overridden 'transform' method (signature-differs) uqmodels/preprocessing/Custom_Preprocessor.py:57:0: C0115: Missing class docstring (missing-class-docstring) uqmodels/preprocessing/Custom_Preprocessor.py:58:4: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/preprocessing/Custom_Preprocessor.py:58:4: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/preprocessing/Custom_Preprocessor.py:58:4: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/preprocessing/Custom_Preprocessor.py:58:4: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/preprocessing/Custom_Preprocessor.py:58:4: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/preprocessing/Custom_Preprocessor.py:58:4: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/preprocessing/Custom_Preprocessor.py:58:4: R0917: Too many positional arguments (19/5) (too-many-positional-arguments) uqmodels/preprocessing/Custom_Preprocessor.py:118:4: W0102: Dangerous default value {} as argument (dangerous-default-value) uqmodels/preprocessing/Custom_Preprocessor.py:118:4: W0221: Number of parameters was 4 in 'Preprocessor.fit' and is now 4 in overriding 'Generic_Features_processor.fit' method (arguments-differ) uqmodels/preprocessing/Custom_Preprocessor.py:118:0: W0613: Unused argument 'kwargs' (unused-argument) uqmodels/preprocessing/Custom_Preprocessor.py:159:4: W0102: Dangerous default value {} as argument (dangerous-default-value) uqmodels/preprocessing/Custom_Preprocessor.py:223:8: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return) uqmodels/preprocessing/Custom_Preprocessor.py:159:4: R0912: Too many branches (17/12) (too-many-branches) uqmodels/preprocessing/Custom_Preprocessor.py:159:40: W0613: Unused argument 'training' (unused-argument) uqmodels/preprocessing/Custom_Preprocessor.py:159:0: W0613: Unused argument 'kwarg' (unused-argument) uqmodels/preprocessing/Custom_Preprocessor.py:228:4: W0102: Dangerous default value {} as argument (dangerous-default-value) uqmodels/preprocessing/Custom_Preprocessor.py:228:4: W0222: Signature differs from overridden 'fit_transform' method (signature-differs) uqmodels/preprocessing/Custom_Preprocessor.py:228:0: W0613: Unused argument 'kwarg' (unused-argument) uqmodels/preprocessing/Custom_Preprocessor.py:132:16: W0201: Attribute 'context_scaler' defined outside __init__ (attribute-defined-outside-init) uqmodels/preprocessing/Custom_Preprocessor.py:138:12: W0201: Attribute 'data_scaler' defined outside __init__ (attribute-defined-outside-init) uqmodels/preprocessing/Custom_Preprocessor.py:234:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/preprocessing/Custom_Preprocessor.py:234:0: R0917: Too many positional arguments (13/5) (too-many-positional-arguments) ************* Module uqmodels.preprocessing.Preprocessor uqmodels/preprocessing/Preprocessor.py:1:0: C0114: Missing module docstring (missing-module-docstring) uqmodels/preprocessing/Preprocessor.py:14:0: C0115: Missing class docstring (missing-class-docstring) uqmodels/preprocessing/Preprocessor.py:38:8: C0206: Consider iterating with .items() (consider-using-dict-items) uqmodels/preprocessing/Preprocessor.py:43:4: W0221: Number of parameters was 2 in 'Processor.default_update_query' and is now 3 in overriding 'Preprocessor.default_update_query' method (arguments-differ) uqmodels/preprocessing/Preprocessor.py:73:4: W0102: Dangerous default value {} as argument (dangerous-default-value) uqmodels/preprocessing/Preprocessor.py:88:4: W0102: Dangerous default value {} as argument (dangerous-default-value) uqmodels/preprocessing/Preprocessor.py:103:4: W0102: Dangerous default value {} as argument (dangerous-default-value) uqmodels/preprocessing/Preprocessor.py:118:4: W0102: Dangerous default value {} as argument (dangerous-default-value) uqmodels/preprocessing/Preprocessor.py:132:4: W0102: Dangerous default value {} as argument (dangerous-default-value) uqmodels/preprocessing/Preprocessor.py:148:12: W0707: Consider explicitly re-raising using 'except (FileNotFoundError, NotADirectoryError) as exc' and 'raise FileNotFoundError() from exc' (raise-missing-from) uqmodels/preprocessing/Preprocessor.py:152:4: W0102: Dangerous default value {} as argument (dangerous-default-value) uqmodels/preprocessing/Preprocessor.py:152:29: W0622: Redefining built-in 'object' (redefined-builtin) uqmodels/preprocessing/Preprocessor.py:162:4: W0102: Dangerous default value {} as argument (dangerous-default-value) uqmodels/preprocessing/Preprocessor.py:170:8: W0622: Redefining built-in 'object' (redefined-builtin) uqmodels/preprocessing/Preprocessor.py:177:0: W0102: Dangerous default value {} as argument (dangerous-default-value) uqmodels/preprocessing/Preprocessor.py:177:16: W0613: Unused argument 'self' (unused-argument) uqmodels/preprocessing/Preprocessor.py:177:22: W0613: Unused argument 'data' (unused-argument) uqmodels/preprocessing/Preprocessor.py:177:28: W0613: Unused argument 'query' (unused-argument) uqmodels/preprocessing/Preprocessor.py:177:38: W0613: Unused argument 'structure' (unused-argument) uqmodels/preprocessing/Preprocessor.py:187:0: W0102: Dangerous default value {} as argument (dangerous-default-value) uqmodels/preprocessing/Preprocessor.py:187:22: W0613: Unused argument 'self' (unused-argument) uqmodels/preprocessing/Preprocessor.py:187:34: W0613: Unused argument 'query' (unused-argument) uqmodels/preprocessing/Preprocessor.py:187:44: W0613: Unused argument 'structure' (unused-argument) uqmodels/preprocessing/Preprocessor.py:201:0: C0115: Missing class docstring (missing-class-docstring) uqmodels/preprocessing/Preprocessor.py:202:4: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) uqmodels/preprocessing/Preprocessor.py:239:4: W0102: Dangerous default value {} as argument (dangerous-default-value) uqmodels/preprocessing/Preprocessor.py:239:4: W0221: Number of parameters was 4 in 'Preprocessor.fit' and is now 3 in overriding 'Generic_Preprocessor.fit' method (arguments-differ) uqmodels/preprocessing/Preprocessor.py:256:4: W0102: Dangerous default value {} as argument (dangerous-default-value) uqmodels/preprocessing/Preprocessor.py:256:4: W0222: Signature differs from overridden 'transform' method (signature-differs) uqmodels/preprocessing/Preprocessor.py:256:0: W0613: Unused argument 'kwarg' (unused-argument) ************* Module uqmodels.preprocessing.data_loader uqmodels/preprocessing/data_loader.py:1:0: C0114: Missing module docstring (missing-module-docstring) uqmodels/preprocessing/data_loader.py:7:0: C0115: Missing class docstring (missing-class-docstring) uqmodels/preprocessing/data_loader.py:8:4: W0246: Useless parent or super() delegation in method '__init__' (useless-parent-delegation) ************* Module uqmodels.modelization.UQEstimator uqmodels/modelization/UQEstimator.py:144:0: C0325: Unnecessary parens after 'not' keyword (superfluous-parens) uqmodels/modelization/UQEstimator.py:168:0: C0325: Unnecessary parens after 'not' keyword (superfluous-parens) uqmodels/modelization/UQEstimator.py:171:0: C0325: Unnecessary parens after 'not' keyword (superfluous-parens) uqmodels/modelization/UQEstimator.py:1:0: C0114: Missing module docstring (missing-module-docstring) uqmodels/modelization/UQEstimator.py:36:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/modelization/UQEstimator.py:38:8: W0104: Statement seems to have no effect (pointless-statement) uqmodels/modelization/UQEstimator.py:43:0: W0102: Dangerous default value {} as argument (dangerous-default-value) uqmodels/modelization/UQEstimator.py:43:0: W0102: Dangerous default value {} as argument (dangerous-default-value) uqmodels/modelization/UQEstimator.py:43:0: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) uqmodels/modelization/UQEstimator.py:64:29: W0109: Duplicate key 'factory_parameters' in dictionary (duplicate-key) uqmodels/modelization/UQEstimator.py:74:4: C0206: Consider iterating with .items() (consider-using-dict-items) uqmodels/modelization/UQEstimator.py:74:19: C0201: Consider iterating the dictionary directly instead of calling .keys() (consider-iterating-dictionary) uqmodels/modelization/UQEstimator.py:85:4: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) uqmodels/modelization/UQEstimator.py:118:4: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) uqmodels/modelization/UQEstimator.py:118:4: R0912: Too many branches (21/12) (too-many-branches) uqmodels/modelization/UQEstimator.py:136:8: W0612: Unused variable 'scalerX' (unused-variable) uqmodels/modelization/UQEstimator.py:136:17: W0612: Unused variable 'scalerY' (unused-variable) uqmodels/modelization/UQEstimator.py:203:4: R0917: Too many positional arguments (8/5) (too-many-positional-arguments) uqmodels/modelization/UQEstimator.py:204:0: W0613: Unused argument 'kwarg' (unused-argument) uqmodels/modelization/UQEstimator.py:232:19: C0201: Consider iterating the dictionary directly instead of calling .keys() (consider-iterating-dictionary) uqmodels/modelization/UQEstimator.py:233:23: C2801: Unnecessarily calls dunder method __getattribute__. Access attribute directly or use getattr built-in function. (unnecessary-dunder-call) uqmodels/modelization/UQEstimator.py:234:35: C2801: Unnecessarily calls dunder method __getattribute__. Access attribute directly or use getattr built-in function. (unnecessary-dunder-call) uqmodels/modelization/UQEstimator.py:236:35: C2801: Unnecessarily calls dunder method __getattribute__. Access attribute directly or use getattr built-in function. (unnecessary-dunder-call) uqmodels/modelization/UQEstimator.py:239:4: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/modelization/UQEstimator.py:240:0: W0613: Unused argument 'kwargs' (unused-argument) uqmodels/modelization/UQEstimator.py:254:4: R0917: Too many positional arguments (8/5) (too-many-positional-arguments) uqmodels/modelization/UQEstimator.py:313:4: W0222: Signature differs from overridden '_format' method (signature-differs) uqmodels/modelization/UQEstimator.py:313:4: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) uqmodels/modelization/UQEstimator.py:336:0: C0115: Missing class docstring (missing-class-docstring) uqmodels/modelization/UQEstimator.py:337:4: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/modelization/UQEstimator.py:337:4: R0917: Too many positional arguments (8/5) (too-many-positional-arguments) uqmodels/modelization/UQEstimator.py:338:0: W0613: Unused argument 'kwargs' (unused-argument) uqmodels/modelization/UQEstimator.py:384:12: W0612: Unused variable 'n' (unused-variable) uqmodels/modelization/UQEstimator.py:392:4: W0222: Signature differs from overridden '_format' method (signature-differs) uqmodels/modelization/UQEstimator.py:392:4: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) uqmodels/modelization/UQEstimator.py:424:4: W0221: Number of parameters was 9 in 'UQEstimator._tuning' and is now 7 in overriding 'QuantileUQEstimator._tuning' method (arguments-differ) uqmodels/modelization/UQEstimator.py:424:4: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) ************* Module uqmodels.modelization.DL_estimator.lstm_ed uqmodels/modelization/DL_estimator/lstm_ed.py:372:0: C0325: Unnecessary parens after 'if' keyword (superfluous-parens) uqmodels/modelization/DL_estimator/lstm_ed.py:1:0: C0114: Missing module docstring (missing-module-docstring) uqmodels/modelization/DL_estimator/lstm_ed.py:3:0: E0611: No name 'keras' in module 'tensorflow' (no-name-in-module) uqmodels/modelization/DL_estimator/lstm_ed.py:4:0: E0611: No name 'keras' in module 'tensorflow' (no-name-in-module) uqmodels/modelization/DL_estimator/lstm_ed.py:22:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/modelization/DL_estimator/lstm_ed.py:22:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/modelization/DL_estimator/lstm_ed.py:22:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/modelization/DL_estimator/lstm_ed.py:22:0: R0917: Too many positional arguments (23/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/lstm_ed.py:239:7: W0125: Using a conditional statement with a constant value (using-constant-test) uqmodels/modelization/DL_estimator/lstm_ed.py:242:34: W0631: Using possibly undefined loop variable 'Decoder' (undefined-loop-variable) uqmodels/modelization/DL_estimator/lstm_ed.py:259:7: W0125: Using a conditional statement with a constant value (using-constant-test) uqmodels/modelization/DL_estimator/lstm_ed.py:22:0: R0912: Too many branches (18/12) (too-many-branches) uqmodels/modelization/DL_estimator/lstm_ed.py:22:0: R0915: Too many statements (62/50) (too-many-statements) uqmodels/modelization/DL_estimator/lstm_ed.py:23:0: W0613: Unused argument 'kwarg' (unused-argument) uqmodels/modelization/DL_estimator/lstm_ed.py:270:0: C0115: Missing class docstring (missing-class-docstring) uqmodels/modelization/DL_estimator/lstm_ed.py:271:4: W0102: Dangerous default value dict() (builtins.dict) as argument (dangerous-default-value) uqmodels/modelization/DL_estimator/lstm_ed.py:271:4: W0102: Dangerous default value dict() (builtins.dict) as argument (dangerous-default-value) uqmodels/modelization/DL_estimator/lstm_ed.py:271:4: R0917: Too many positional arguments (10/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/lstm_ed.py:274:27: R1735: Consider using '{}' instead of a call to 'dict'. (use-dict-literal) uqmodels/modelization/DL_estimator/lstm_ed.py:275:28: R1735: Consider using '{}' instead of a call to 'dict'. (use-dict-literal) uqmodels/modelization/DL_estimator/lstm_ed.py:312:4: W0221: Number of parameters was 6 in 'NN_UQ.factory' and is now 6 in overriding 'Lstm_ED_UQ.factory' method (arguments-differ) uqmodels/modelization/DL_estimator/lstm_ed.py:372:12: C0123: Use isinstance() rather than type() for a typecheck. (unidiomatic-typecheck) uqmodels/modelization/DL_estimator/lstm_ed.py:312:0: W0613: Unused argument 'kwarg' (unused-argument) uqmodels/modelization/DL_estimator/lstm_ed.py:377:4: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/lstm_ed.py:389:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/modelization/DL_estimator/lstm_ed.py:389:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/modelization/DL_estimator/lstm_ed.py:389:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/modelization/DL_estimator/lstm_ed.py:389:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/modelization/DL_estimator/lstm_ed.py:389:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/modelization/DL_estimator/lstm_ed.py:389:0: R0917: Too many positional arguments (23/5) (too-many-positional-arguments) ************* Module uqmodels.modelization.DL_estimator.utils uqmodels/modelization/DL_estimator/utils.py:48:0: C0325: Unnecessary parens after 'raise' keyword (superfluous-parens) uqmodels/modelization/DL_estimator/utils.py:1:0: C0114: Missing module docstring (missing-module-docstring) uqmodels/modelization/DL_estimator/utils.py:55:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/modelization/DL_estimator/utils.py:63:0: C0116: Missing function or method docstring (missing-function-docstring) ************* Module uqmodels.modelization.DL_estimator.data_generator uqmodels/modelization/DL_estimator/data_generator.py:1:0: C0114: Missing module docstring (missing-module-docstring) uqmodels/modelization/DL_estimator/data_generator.py:6:0: C0115: Missing class docstring (missing-class-docstring) uqmodels/modelization/DL_estimator/data_generator.py:7:4: R0917: Too many positional arguments (8/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/data_generator.py:60:4: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/modelization/DL_estimator/data_generator.py:66:0: C0115: Missing class docstring (missing-class-docstring) uqmodels/modelization/DL_estimator/data_generator.py:66:0: R0902: Too many instance attributes (19/15) (too-many-instance-attributes) uqmodels/modelization/DL_estimator/data_generator.py:67:4: R0917: Too many positional arguments (9/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/data_generator.py:69:8: W0613: Unused argument 'dtype' (unused-argument) uqmodels/modelization/DL_estimator/data_generator.py:133:8: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return) ************* Module uqmodels.modelization.DL_estimator.Lstm_WS_ED uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:458:0: C0325: Unnecessary parens after 'not' keyword (superfluous-parens) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:516:0: C0325: Unnecessary parens after 'not' keyword (superfluous-parens) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:535:0: C0325: Unnecessary parens after 'not' keyword (superfluous-parens) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:789:0: C0325: Unnecessary parens after 'not' keyword (superfluous-parens) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:958:0: C0325: Unnecessary parens after 'not' keyword (superfluous-parens) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:983:0: C0325: Unnecessary parens after 'not' keyword (superfluous-parens) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:1023:0: C0325: Unnecessary parens after 'not' keyword (superfluous-parens) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:1:0: C0302: Too many lines in module (1093/1000) (too-many-lines) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:1:0: C0114: Missing module docstring (missing-module-docstring) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:27:0: C0115: Missing class docstring (missing-class-docstring) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:34:4: W0102: Dangerous default value dict() (builtins.dict) as argument (dangerous-default-value) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:39:28: R1735: Consider using '{}' instead of a call to 'dict'. (use-dict-literal) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:88:12: W0719: Raising too general exception: Exception (broad-exception-raised) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:79:12: W0612: Unused variable 'size_subseq_enc' (unused-variable) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:108:28: W0612: Unused variable 'dim_target_in' (unused-variable) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:108:54: W0612: Unused variable 'dp_r' (unused-variable) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:150:4: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:164:11: R1714: Consider merging these comparisons with 'in' by using 'self.type_output in ('MC_Dropout', 'MCDP')'. Use a set instead if elements are hashable. (consider-using-in) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:315:34: W0108: Lambda may not be necessary (unnecessary-lambda) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:354:55: E0601: Using variable 'Z_futur_query' before assignment (used-before-assignment) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:150:4: R0912: Too many branches (22/12) (too-many-branches) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:150:4: R0915: Too many statements (99/50) (too-many-statements) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:469:4: W0237: Parameter 'X' has been renamed to 'Inputs' in overriding 'Lstm.fit' method (arguments-renamed) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:469:4: W0237: Parameter 'y' has been renamed to 'Targets' in overriding 'Lstm.fit' method (arguments-renamed) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:469:4: W0237: Parameter 'skip_format' has been renamed to 'validation_data' in overriding 'Lstm.fit' method (arguments-renamed) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:469:4: R0917: Too many positional arguments (17/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:569:42: C2801: Unnecessarily calls dunder method __len__. Use len built-in function. (unnecessary-dunder-call) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:570:39: C2801: Unnecessarily calls dunder method __len__. Use len built-in function. (unnecessary-dunder-call) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:469:4: R0912: Too many branches (21/12) (too-many-branches) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:469:4: R0915: Too many statements (57/50) (too-many-statements) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:481:8: W0613: Unused argument 'sample_weight' (unused-argument) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:598:4: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:598:4: W0237: Parameter 'X' has been renamed to 'Inputs' in overriding 'Lstm.predict' method (arguments-renamed) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:598:4: W0237: Parameter 'skip_format' has been renamed to 'n_ech' in overriding 'Lstm.predict' method (arguments-renamed) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:598:4: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:671:35: E0601: Using variable 'UQ' before assignment (used-before-assignment) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:598:4: R0912: Too many branches (13/12) (too-many-branches) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:647:24: W0612: Unused variable 'i' (unused-variable) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:674:4: W0221: Number of parameters was 6 in 'UQEstimator._format' and is now 5 in overriding 'Lstm._format' method (arguments-differ) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:693:20: R1725: Consider using Python 3 style super() without arguments (super-with-arguments) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:700:23: R1725: Consider using Python 3 style super() without arguments (super-with-arguments) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:707:4: W0237: Parameter 'type_transform' has been renamed to 'mask' in overriding 'Lstm.factory' method (arguments-renamed) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:707:4: W0237: Parameter 'only_fit_scaler' has been renamed to 'cut_param' in overriding 'Lstm.factory' method (arguments-renamed) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:707:4: W0221: Variadics removed in overriding 'Lstm.factory' method (arguments-differ) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:707:4: R0917: Too many positional arguments (9/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:707:4: R0912: Too many branches (15/12) (too-many-branches) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:707:4: R0915: Too many statements (59/50) (too-many-statements) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:713:8: W0613: Unused argument 'fit_rescale' (unused-argument) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:863:4: W0221: Number of parameters was 2 in 'UQEstimator.get_params' and is now 1 in overriding 'Lstm.get_params' method (arguments-differ) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:873:4: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:880:4: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:887:4: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:897:4: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:910:4: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:910:4: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:935:0: C0115: Missing class docstring (missing-class-docstring) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:935:0: R0902: Too many instance attributes (20/15) (too-many-instance-attributes) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:936:4: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:972:4: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:1049:4: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:1054:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/modelization/DL_estimator/Lstm_WS_ED.py:1054:0: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) ************* Module uqmodels.modelization.DL_estimator.loss uqmodels/modelization/DL_estimator/loss.py:1:0: C0114: Missing module docstring (missing-module-docstring) uqmodels/modelization/DL_estimator/loss.py:3:0: E0611: No name 'keras' in module 'tensorflow' (no-name-in-module) uqmodels/modelization/DL_estimator/loss.py:4:0: E0611: No name 'keras' in module 'tensorflow' (no-name-in-module) uqmodels/modelization/DL_estimator/loss.py:7:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/modelization/DL_estimator/loss.py:36:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/modelization/DL_estimator/loss.py:48:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/modelization/DL_estimator/loss.py:59:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/modelization/DL_estimator/loss.py:60:11: W0612: Unused variable 'vu' (unused-variable) uqmodels/modelization/DL_estimator/loss.py:71:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/modelization/DL_estimator/loss.py:96:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/modelization/DL_estimator/loss.py:97:11: W0612: Unused variable 'vu' (unused-variable) uqmodels/modelization/DL_estimator/loss.py:120:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/modelization/DL_estimator/loss.py:123:11: R1714: Consider merging these comparisons with 'in' by using 'type_output in ('MC_Dropout', 'Deep_ensemble')'. Use a set instead if elements are hashable. (consider-using-in) uqmodels/modelization/DL_estimator/loss.py:137:26: E0606: Possibly using variable 'logvar' before assignment (possibly-used-before-assignment) uqmodels/modelization/DL_estimator/loss.py:127:19: W0612: Unused variable 'vu' (unused-variable) uqmodels/modelization/DL_estimator/loss.py:164:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/modelization/DL_estimator/loss.py:165:4: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/loss.py:176:4: R0917: Too many positional arguments (8/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/loss.py:189:4: R0917: Too many positional arguments (8/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/loss.py:212:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/modelization/DL_estimator/loss.py:212:0: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) ************* Module uqmodels.modelization.DL_estimator.data_embedding uqmodels/modelization/DL_estimator/data_embedding.py:238:0: C0325: Unnecessary parens after 'not' keyword (superfluous-parens) uqmodels/modelization/DL_estimator/data_embedding.py:1:0: C0114: Missing module docstring (missing-module-docstring) uqmodels/modelization/DL_estimator/data_embedding.py:5:0: E0611: No name 'keras' in module 'tensorflow' (no-name-in-module) uqmodels/modelization/DL_estimator/data_embedding.py:7:0: E0611: No name 'keras' in module 'tensorflow' (no-name-in-module) uqmodels/modelization/DL_estimator/data_embedding.py:22:0: C0115: Missing class docstring (missing-class-docstring) uqmodels/modelization/DL_estimator/data_embedding.py:23:4: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/data_embedding.py:35:8: R1725: Consider using Python 3 style super() without arguments (super-with-arguments) uqmodels/modelization/DL_estimator/data_embedding.py:24:0: W0613: Unused argument 'kwargs' (unused-argument) uqmodels/modelization/DL_estimator/data_embedding.py:44:27: W0613: Unused argument 'mode' (unused-argument) uqmodels/modelization/DL_estimator/data_embedding.py:71:0: C0115: Missing class docstring (missing-class-docstring) uqmodels/modelization/DL_estimator/data_embedding.py:72:4: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/data_embedding.py:73:8: R1725: Consider using Python 3 style super() without arguments (super-with-arguments) uqmodels/modelization/DL_estimator/data_embedding.py:97:8: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return) uqmodels/modelization/DL_estimator/data_embedding.py:115:0: C0115: Missing class docstring (missing-class-docstring) uqmodels/modelization/DL_estimator/data_embedding.py:120:0: C0115: Missing class docstring (missing-class-docstring) uqmodels/modelization/DL_estimator/data_embedding.py:125:0: C0115: Missing class docstring (missing-class-docstring) uqmodels/modelization/DL_estimator/data_embedding.py:130:0: C0115: Missing class docstring (missing-class-docstring) uqmodels/modelization/DL_estimator/data_embedding.py:131:4: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/modelization/DL_estimator/data_embedding.py:131:4: R0917: Too many positional arguments (13/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/data_embedding.py:262:4: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/modelization/DL_estimator/data_embedding.py:282:4: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/modelization/DL_estimator/data_embedding.py:284:8: W0621: Redefining name 'layers' from outer scope (line 7) (redefined-outer-name) uqmodels/modelization/DL_estimator/data_embedding.py:294:0: C0115: Missing class docstring (missing-class-docstring) uqmodels/modelization/DL_estimator/data_embedding.py:295:4: R0917: Too many positional arguments (9/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/data_embedding.py:306:8: R1725: Consider using Python 3 style super() without arguments (super-with-arguments) uqmodels/modelization/DL_estimator/data_embedding.py:313:11: W0125: Using a conditional statement with a constant value (using-constant-test) uqmodels/modelization/DL_estimator/data_embedding.py:341:34: W0613: Unused argument 'extension' (unused-argument) uqmodels/modelization/DL_estimator/data_embedding.py:361:0: C0115: Missing class docstring (missing-class-docstring) uqmodels/modelization/DL_estimator/data_embedding.py:366:0: W0613: Unused argument 'kwargs' (unused-argument) uqmodels/modelization/DL_estimator/data_embedding.py:382:4: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/modelization/DL_estimator/data_embedding.py:391:0: C0115: Missing class docstring (missing-class-docstring) uqmodels/modelization/DL_estimator/data_embedding.py:393:8: R1725: Consider using Python 3 style super() without arguments (super-with-arguments) uqmodels/modelization/DL_estimator/data_embedding.py:408:19: W0613: Unused argument 'inputs' (unused-argument) uqmodels/modelization/DL_estimator/data_embedding.py:408:0: W0613: Unused argument 'kwargs' (unused-argument) uqmodels/modelization/DL_estimator/data_embedding.py:420:0: C0115: Missing class docstring (missing-class-docstring) uqmodels/modelization/DL_estimator/data_embedding.py:422:8: R1725: Consider using Python 3 style super() without arguments (super-with-arguments) uqmodels/modelization/DL_estimator/data_embedding.py:429:0: W0613: Unused argument 'kwargs' (unused-argument) uqmodels/modelization/DL_estimator/data_embedding.py:443:0: C0115: Missing class docstring (missing-class-docstring) uqmodels/modelization/DL_estimator/data_embedding.py:445:8: R1725: Consider using Python 3 style super() without arguments (super-with-arguments) uqmodels/modelization/DL_estimator/data_embedding.py:462:0: W0613: Unused argument 'kargs' (unused-argument) uqmodels/modelization/DL_estimator/data_embedding.py:475:0: C0115: Missing class docstring (missing-class-docstring) uqmodels/modelization/DL_estimator/data_embedding.py:477:8: R1725: Consider using Python 3 style super() without arguments (super-with-arguments) uqmodels/modelization/DL_estimator/data_embedding.py:486:0: W0613: Unused argument 'kargs' (unused-argument) uqmodels/modelization/DL_estimator/data_embedding.py:499:0: C0115: Missing class docstring (missing-class-docstring) uqmodels/modelization/DL_estimator/data_embedding.py:501:8: R1725: Consider using Python 3 style super() without arguments (super-with-arguments) uqmodels/modelization/DL_estimator/data_embedding.py:510:27: W0613: Unused argument 'x_mark' (unused-argument) uqmodels/modelization/DL_estimator/data_embedding.py:510:0: W0613: Unused argument 'kwargs' (unused-argument) ************* Module uqmodels.modelization.DL_estimator.neural_network_UQ uqmodels/modelization/DL_estimator/neural_network_UQ.py:370:0: C0325: Unnecessary parens after 'not' keyword (superfluous-parens) uqmodels/modelization/DL_estimator/neural_network_UQ.py:1:0: C0114: Missing module docstring (missing-module-docstring) uqmodels/modelization/DL_estimator/neural_network_UQ.py:16:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/modelization/DL_estimator/neural_network_UQ.py:16:0: W0613: Unused argument 'kwargs' (unused-argument) uqmodels/modelization/DL_estimator/neural_network_UQ.py:23:4: W0102: Dangerous default value dict() (builtins.dict) as argument (dangerous-default-value) uqmodels/modelization/DL_estimator/neural_network_UQ.py:23:4: W0102: Dangerous default value dict() (builtins.dict) as argument (dangerous-default-value) uqmodels/modelization/DL_estimator/neural_network_UQ.py:23:4: R0917: Too many positional arguments (12/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/neural_network_UQ.py:27:27: R1735: Consider using '{}' instead of a call to 'dict'. (use-dict-literal) uqmodels/modelization/DL_estimator/neural_network_UQ.py:28:28: R1735: Consider using '{}' instead of a call to 'dict'. (use-dict-literal) uqmodels/modelization/DL_estimator/neural_network_UQ.py:23:4: R0912: Too many branches (13/12) (too-many-branches) uqmodels/modelization/DL_estimator/neural_network_UQ.py:133:12: W0127: Assigning the same variable 'loss' to itself (self-assigning-variable) uqmodels/modelization/DL_estimator/neural_network_UQ.py:161:4: W0221: Number of parameters was 6 in 'UQEstimator._format' and is now 5 in overriding 'NN_UQ._format' method (arguments-differ) uqmodels/modelization/DL_estimator/neural_network_UQ.py:165:4: W0237: Parameter 'type_transform' has been renamed to 'mask' in overriding 'NN_UQ.factory' method (arguments-renamed) uqmodels/modelization/DL_estimator/neural_network_UQ.py:165:4: W0237: Parameter 'only_fit_scaler' has been renamed to 'cut_param' in overriding 'NN_UQ.factory' method (arguments-renamed) uqmodels/modelization/DL_estimator/neural_network_UQ.py:165:4: W0221: Variadics removed in overriding 'NN_UQ.factory' method (arguments-differ) uqmodels/modelization/DL_estimator/neural_network_UQ.py:165:4: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/neural_network_UQ.py:169:16: W0127: Assigning the same variable 'y' to itself (self-assigning-variable) uqmodels/modelization/DL_estimator/neural_network_UQ.py:186:4: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/modelization/DL_estimator/neural_network_UQ.py:207:4: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/modelization/DL_estimator/neural_network_UQ.py:215:12: C2801: Unnecessarily calls dunder method __setattr__. Set attribute directly or use setattr built-in function. (unnecessary-dunder-call) uqmodels/modelization/DL_estimator/neural_network_UQ.py:227:4: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/modelization/DL_estimator/neural_network_UQ.py:244:4: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/modelization/DL_estimator/neural_network_UQ.py:251:4: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/modelization/DL_estimator/neural_network_UQ.py:262:16: W0612: Unused variable 'i' (unused-variable) uqmodels/modelization/DL_estimator/neural_network_UQ.py:268:4: W0237: Parameter 'X' has been renamed to 'Inputs' in overriding 'NN_UQ.fit' method (arguments-renamed) uqmodels/modelization/DL_estimator/neural_network_UQ.py:268:4: W0237: Parameter 'y' has been renamed to 'Targets' in overriding 'NN_UQ.fit' method (arguments-renamed) uqmodels/modelization/DL_estimator/neural_network_UQ.py:268:4: W0237: Parameter 'skip_format' has been renamed to 'train' in overriding 'NN_UQ.fit' method (arguments-renamed) uqmodels/modelization/DL_estimator/neural_network_UQ.py:268:4: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/neural_network_UQ.py:310:12: W0612: Unused variable 'i' (unused-variable) uqmodels/modelization/DL_estimator/neural_network_UQ.py:315:4: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/modelization/DL_estimator/neural_network_UQ.py:315:4: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/modelization/DL_estimator/neural_network_UQ.py:315:4: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/modelization/DL_estimator/neural_network_UQ.py:315:4: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/modelization/DL_estimator/neural_network_UQ.py:315:4: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/modelization/DL_estimator/neural_network_UQ.py:315:4: R0917: Too many positional arguments (19/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/neural_network_UQ.py:315:4: R0912: Too many branches (16/12) (too-many-branches) uqmodels/modelization/DL_estimator/neural_network_UQ.py:316:0: W0613: Unused argument 'kwargs' (unused-argument) uqmodels/modelization/DL_estimator/neural_network_UQ.py:460:4: R0917: Too many positional arguments (8/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/neural_network_UQ.py:500:30: C2801: Unnecessarily calls dunder method __len__. Use len built-in function. (unnecessary-dunder-call) uqmodels/modelization/DL_estimator/neural_network_UQ.py:501:31: C2801: Unnecessarily calls dunder method __len__. Use len built-in function. (unnecessary-dunder-call) uqmodels/modelization/DL_estimator/neural_network_UQ.py:518:4: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/modelization/DL_estimator/neural_network_UQ.py:518:4: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/neural_network_UQ.py:521:4: W0237: Parameter 'skip_format' has been renamed to 'type_output' in overriding 'NN_UQ.predict' method (arguments-renamed) uqmodels/modelization/DL_estimator/neural_network_UQ.py:537:4: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/modelization/DL_estimator/neural_network_UQ.py:537:4: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/neural_network_UQ.py:589:12: W0719: Raising too general exception: Exception (broad-exception-raised) uqmodels/modelization/DL_estimator/neural_network_UQ.py:538:0: W0613: Unused argument 'kwarg' (unused-argument) uqmodels/modelization/DL_estimator/neural_network_UQ.py:167:12: W0201: Attribute 'y_shape' defined outside __init__ (attribute-defined-outside-init) uqmodels/modelization/DL_estimator/neural_network_UQ.py:202:8: W0201: Attribute 'model' defined outside __init__ (attribute-defined-outside-init) uqmodels/modelization/DL_estimator/neural_network_UQ.py:205:8: W0201: Attribute 'model' defined outside __init__ (attribute-defined-outside-init) uqmodels/modelization/DL_estimator/neural_network_UQ.py:247:8: W0201: Attribute 'model' defined outside __init__ (attribute-defined-outside-init) uqmodels/modelization/DL_estimator/neural_network_UQ.py:261:12: W0201: Attribute 'model' defined outside __init__ (attribute-defined-outside-init) uqmodels/modelization/DL_estimator/neural_network_UQ.py:265:12: W0201: Attribute 'model' defined outside __init__ (attribute-defined-outside-init) uqmodels/modelization/DL_estimator/neural_network_UQ.py:596:0: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/neural_network_UQ.py:626:16: W0632: Possible unbalanced tuple unpacking with sequence defined at line 777 of numpy.lib.shape_base: left side has 2 labels, right side has 0 values (unbalanced-tuple-unpacking) uqmodels/modelization/DL_estimator/neural_network_UQ.py:646:12: W0632: Possible unbalanced tuple unpacking with sequence defined at line 777 of numpy.lib.shape_base: left side has 2 labels, right side has 0 values (unbalanced-tuple-unpacking) uqmodels/modelization/DL_estimator/neural_network_UQ.py:618:16: W0612: Unused variable 'i' (unused-variable) uqmodels/modelization/DL_estimator/neural_network_UQ.py:679:8: W0632: Possible unbalanced tuple unpacking with sequence defined at line 777 of numpy.lib.shape_base: left side has 4 labels, right side has 0 values (unbalanced-tuple-unpacking) uqmodels/modelization/DL_estimator/neural_network_UQ.py:693:8: W0632: Possible unbalanced tuple unpacking with sequence defined at line 777 of numpy.lib.shape_base: left side has 2 labels, right side has 0 values (unbalanced-tuple-unpacking) uqmodels/modelization/DL_estimator/neural_network_UQ.py:654:44: W0613: Unused argument 'ddof' (unused-argument) uqmodels/modelization/DL_estimator/neural_network_UQ.py:730:12: W0632: Possible unbalanced tuple unpacking with sequence defined at line 777 of numpy.lib.shape_base: left side has 2 labels, right side has 0 values (unbalanced-tuple-unpacking) uqmodels/modelization/DL_estimator/neural_network_UQ.py:742:8: W0632: Possible unbalanced tuple unpacking with sequence defined at line 777 of numpy.lib.shape_base: left side has 2 labels, right side has 0 values (unbalanced-tuple-unpacking) uqmodels/modelization/DL_estimator/neural_network_UQ.py:706:69: W0613: Unused argument 'type_output' (unused-argument) uqmodels/modelization/DL_estimator/neural_network_UQ.py:750:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/modelization/DL_estimator/neural_network_UQ.py:750:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/modelization/DL_estimator/neural_network_UQ.py:750:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/modelization/DL_estimator/neural_network_UQ.py:750:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/modelization/DL_estimator/neural_network_UQ.py:750:0: R0917: Too many positional arguments (12/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/neural_network_UQ.py:799:4: C0206: Consider iterating with .items() (consider-using-dict-items) uqmodels/modelization/DL_estimator/neural_network_UQ.py:799:19: C0201: Consider iterating the dictionary directly instead of calling .keys() (consider-iterating-dictionary) uqmodels/modelization/DL_estimator/neural_network_UQ.py:804:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/modelization/DL_estimator/neural_network_UQ.py:804:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/modelization/DL_estimator/neural_network_UQ.py:804:0: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/neural_network_UQ.py:840:4: C0206: Consider iterating with .items() (consider-using-dict-items) uqmodels/modelization/DL_estimator/neural_network_UQ.py:840:19: C0201: Consider iterating the dictionary directly instead of calling .keys() (consider-iterating-dictionary) uqmodels/modelization/DL_estimator/neural_network_UQ.py:891:0: C0116: Missing function or method docstring (missing-function-docstring) ************* Module uqmodels.modelization.DL_estimator.metalayers uqmodels/modelization/DL_estimator/metalayers.py:1:0: C0302: Too many lines in module (1258/1000) (too-many-lines) uqmodels/modelization/DL_estimator/metalayers.py:1:0: C0114: Missing module docstring (missing-module-docstring) uqmodels/modelization/DL_estimator/metalayers.py:3:0: E0611: No name 'keras' in module 'tensorflow' (no-name-in-module) uqmodels/modelization/DL_estimator/metalayers.py:18:0: C0115: Missing class docstring (missing-class-docstring) uqmodels/modelization/DL_estimator/metalayers.py:18:0: W0223: Method 'add_metric' is abstract in class 'Layer' but is not overridden in child class 'EDLProcessing' (abstract-method) uqmodels/modelization/DL_estimator/metalayers.py:18:0: R0901: Too many ancestors (12/7) (too-many-ancestors) uqmodels/modelization/DL_estimator/metalayers.py:23:4: W0221: Number of parameters was 3 in 'Layer.compute_output_shape' and is now 2 in overriding 'EDLProcessing.compute_output_shape' method (arguments-differ) uqmodels/modelization/DL_estimator/metalayers.py:23:4: W0221: Variadics removed in overriding 'EDLProcessing.compute_output_shape' method (arguments-differ) uqmodels/modelization/DL_estimator/metalayers.py:26:4: W0221: Number of parameters was 3 in 'Layer.call' and is now 2 in overriding 'EDLProcessing.call' method (arguments-differ) uqmodels/modelization/DL_estimator/metalayers.py:26:4: W0221: Variadics removed in overriding 'EDLProcessing.call' method (arguments-differ) uqmodels/modelization/DL_estimator/metalayers.py:46:0: W0223: Method 'add_metric' is abstract in class 'Layer' but is not overridden in child class 'ProbabilisticProcessing' (abstract-method) uqmodels/modelization/DL_estimator/metalayers.py:46:0: R0901: Too many ancestors (12/7) (too-many-ancestors) uqmodels/modelization/DL_estimator/metalayers.py:58:4: W0221: Number of parameters was 3 in 'Layer.compute_output_shape' and is now 2 in overriding 'ProbabilisticProcessing.compute_output_shape' method (arguments-differ) uqmodels/modelization/DL_estimator/metalayers.py:58:4: W0221: Variadics removed in overriding 'ProbabilisticProcessing.compute_output_shape' method (arguments-differ) uqmodels/modelization/DL_estimator/metalayers.py:61:4: W0221: Number of parameters was 3 in 'Layer.call' and is now 2 in overriding 'ProbabilisticProcessing.call' method (arguments-differ) uqmodels/modelization/DL_estimator/metalayers.py:61:4: W0221: Variadics removed in overriding 'ProbabilisticProcessing.call' method (arguments-differ) uqmodels/modelization/DL_estimator/metalayers.py:81:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/modelization/DL_estimator/metalayers.py:81:0: R0917: Too many positional arguments (12/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/metalayers.py:185:4: W0621: Redefining name 'mlp' from outer scope (line 81) (redefined-outer-name) uqmodels/modelization/DL_estimator/metalayers.py:156:9: R1714: Consider merging these comparisons with 'in' by using 'type_output in ('MC_Dropout', 'Deep_ensemble')'. Use a set instead if elements are hashable. (consider-using-in) uqmodels/modelization/DL_estimator/metalayers.py:82:0: W0613: Unused argument 'kwargs' (unused-argument) uqmodels/modelization/DL_estimator/metalayers.py:195:0: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/metalayers.py:196:56: W0622: Redefining built-in 'format' (redefined-builtin) uqmodels/modelization/DL_estimator/metalayers.py:216:4: R1705: Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return) uqmodels/modelization/DL_estimator/metalayers.py:245:8: R1722: Consider using 'sys.exit' instead (consider-using-sys-exit) uqmodels/modelization/DL_estimator/metalayers.py:250:0: R0917: Too many positional arguments (8/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/metalayers.py:251:0: W0613: Unused argument 'kwarg' (unused-argument) uqmodels/modelization/DL_estimator/metalayers.py:327:0: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/metalayers.py:328:0: W0613: Unused argument 'kwarg' (unused-argument) uqmodels/modelization/DL_estimator/metalayers.py:402:0: R0917: Too many positional arguments (9/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/metalayers.py:403:0: W0613: Unused argument 'kwarg' (unused-argument) uqmodels/modelization/DL_estimator/metalayers.py:474:0: R0917: Too many positional arguments (9/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/metalayers.py:475:0: W0613: Unused argument 'kwarg' (unused-argument) uqmodels/modelization/DL_estimator/metalayers.py:561:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/modelization/DL_estimator/metalayers.py:561:0: R0917: Too many positional arguments (8/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/metalayers.py:588:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/modelization/DL_estimator/metalayers.py:588:0: R0917: Too many positional arguments (8/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/metalayers.py:590:4: W0613: Unused argument 'dim_chan' (unused-argument) uqmodels/modelization/DL_estimator/metalayers.py:613:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/modelization/DL_estimator/metalayers.py:613:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/modelization/DL_estimator/metalayers.py:613:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/modelization/DL_estimator/metalayers.py:613:0: R0917: Too many positional arguments (11/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/metalayers.py:614:0: W0613: Unused argument 'kwarg' (unused-argument) uqmodels/modelization/DL_estimator/metalayers.py:683:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/modelization/DL_estimator/metalayers.py:683:0: R0917: Too many positional arguments (8/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/metalayers.py:707:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/modelization/DL_estimator/metalayers.py:707:0: R0917: Too many positional arguments (8/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/metalayers.py:729:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/modelization/DL_estimator/metalayers.py:729:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/modelization/DL_estimator/metalayers.py:729:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/modelization/DL_estimator/metalayers.py:729:0: R0917: Too many positional arguments (10/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/metalayers.py:730:0: W0613: Unused argument 'kwarg' (unused-argument) uqmodels/modelization/DL_estimator/metalayers.py:798:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/modelization/DL_estimator/metalayers.py:798:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/modelization/DL_estimator/metalayers.py:798:0: R0917: Too many positional arguments (10/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/metalayers.py:870:12: W0622: Redefining built-in 'slice' (redefined-builtin) uqmodels/modelization/DL_estimator/metalayers.py:868:8: W0612: Unused variable 'i' (unused-variable) uqmodels/modelization/DL_estimator/metalayers.py:883:0: W0223: Method 'add_metric' is abstract in class 'Layer' but is not overridden in child class 'Moving_slice_layer' (abstract-method) uqmodels/modelization/DL_estimator/metalayers.py:883:0: R0901: Too many ancestors (12/7) (too-many-ancestors) uqmodels/modelization/DL_estimator/metalayers.py:886:4: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/metalayers.py:896:4: W0246: Useless parent or super() delegation in method 'build' (useless-parent-delegation) uqmodels/modelization/DL_estimator/metalayers.py:899:4: W0221: Number of parameters was 3 in 'Layer.call' and is now 2 in overriding 'Moving_slice_layer.call' method (arguments-differ) uqmodels/modelization/DL_estimator/metalayers.py:899:4: W0221: Variadics removed in overriding 'Moving_slice_layer.call' method (arguments-differ) uqmodels/modelization/DL_estimator/metalayers.py:915:4: W0221: Number of parameters was 3 in 'Layer.compute_output_shape' and is now 2 in overriding 'Moving_slice_layer.compute_output_shape' method (arguments-differ) uqmodels/modelization/DL_estimator/metalayers.py:915:4: W0221: Variadics removed in overriding 'Moving_slice_layer.compute_output_shape' method (arguments-differ) uqmodels/modelization/DL_estimator/metalayers.py:931:0: W0223: Method 'add_metric' is abstract in class 'Layer' but is not overridden in child class 'Double_Moving_slice_layer' (abstract-method) uqmodels/modelization/DL_estimator/metalayers.py:931:0: R0901: Too many ancestors (12/7) (too-many-ancestors) uqmodels/modelization/DL_estimator/metalayers.py:938:4: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/metalayers.py:948:4: W0246: Useless parent or super() delegation in method 'build' (useless-parent-delegation) uqmodels/modelization/DL_estimator/metalayers.py:951:4: W0221: Number of parameters was 3 in 'Layer.call' and is now 2 in overriding 'Double_Moving_slice_layer.call' method (arguments-differ) uqmodels/modelization/DL_estimator/metalayers.py:951:4: W0221: Variadics removed in overriding 'Double_Moving_slice_layer.call' method (arguments-differ) uqmodels/modelization/DL_estimator/metalayers.py:974:4: W0221: Number of parameters was 3 in 'Layer.compute_output_shape' and is now 2 in overriding 'Double_Moving_slice_layer.compute_output_shape' method (arguments-differ) uqmodels/modelization/DL_estimator/metalayers.py:974:4: W0221: Variadics removed in overriding 'Double_Moving_slice_layer.compute_output_shape' method (arguments-differ) uqmodels/modelization/DL_estimator/metalayers.py:1000:0: W0223: Method 'add_metric' is abstract in class 'Layer' but is not overridden in child class 'LSTMCellReturnCellState' (abstract-method) uqmodels/modelization/DL_estimator/metalayers.py:1000:0: R0901: Too many ancestors (14/7) (too-many-ancestors) uqmodels/modelization/DL_estimator/metalayers.py:1018:8: W0612: Unused variable 'outputs' (unused-variable) uqmodels/modelization/DL_estimator/metalayers.py:1022:0: W0223: Method 'add_metric' is abstract in class 'Layer' but is not overridden in child class 'LSTMCellMidsize' (abstract-method) uqmodels/modelization/DL_estimator/metalayers.py:1022:0: R0901: Too many ancestors (14/7) (too-many-ancestors) uqmodels/modelization/DL_estimator/metalayers.py:1037:0: W0223: Method 'add_metric' is abstract in class 'Layer' but is not overridden in child class 'RNN_states_in_inputs' (abstract-method) uqmodels/modelization/DL_estimator/metalayers.py:1037:0: R0901: Too many ancestors (13/7) (too-many-ancestors) uqmodels/modelization/DL_estimator/metalayers.py:1044:4: W0237: Parameter 'sequences' has been renamed to 'inputs' in overriding 'RNN_states_in_inputs.call' method (arguments-renamed) uqmodels/modelization/DL_estimator/metalayers.py:1044:4: W0237: Parameter 'initial_state' has been renamed to 'mask' in overriding 'RNN_states_in_inputs.call' method (arguments-renamed) uqmodels/modelization/DL_estimator/metalayers.py:1044:4: W0237: Parameter 'mask' has been renamed to 'training' in overriding 'RNN_states_in_inputs.call' method (arguments-renamed) uqmodels/modelization/DL_estimator/metalayers.py:1044:4: W0237: Parameter 'training' has been renamed to 'initial_state' in overriding 'RNN_states_in_inputs.call' method (arguments-renamed) uqmodels/modelization/DL_estimator/metalayers.py:1044:4: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/metalayers.py:1061:15: E1123: Unexpected keyword argument 'constants' in method call (unexpected-keyword-arg) uqmodels/modelization/DL_estimator/metalayers.py:1066:0: R0917: Too many positional arguments (8/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/metalayers.py:1131:0: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/metalayers.py:1172:37: E1120: No value for argument 'values' in function call (no-value-for-parameter) uqmodels/modelization/DL_estimator/metalayers.py:1186:0: C0115: Missing class docstring (missing-class-docstring) uqmodels/modelization/DL_estimator/metalayers.py:1186:0: W0223: Method 'add_metric' is abstract in class 'Layer' but is not overridden in child class 'Add_query_to_Z_Processing_with_state' (abstract-method) uqmodels/modelization/DL_estimator/metalayers.py:1186:0: R0901: Too many ancestors (12/7) (too-many-ancestors) uqmodels/modelization/DL_estimator/metalayers.py:1192:4: W0221: Number of parameters was 3 in 'Layer.compute_output_shape' and is now 2 in overriding 'Add_query_to_Z_Processing_with_state.compute_output_shape' method (arguments-differ) uqmodels/modelization/DL_estimator/metalayers.py:1192:4: W0221: Variadics removed in overriding 'Add_query_to_Z_Processing_with_state.compute_output_shape' method (arguments-differ) uqmodels/modelization/DL_estimator/metalayers.py:1195:4: W0221: Number of parameters was 3 in 'Layer.call' and is now 3 in overriding 'Add_query_to_Z_Processing_with_state.call' method (arguments-differ) uqmodels/modelization/DL_estimator/metalayers.py:1195:4: W0221: Variadics removed in overriding 'Add_query_to_Z_Processing_with_state.call' method (arguments-differ) ************* Module uqmodels.modelization.DL_estimator.baseline_models uqmodels/modelization/DL_estimator/baseline_models.py:1:0: C0114: Missing module docstring (missing-module-docstring) uqmodels/modelization/DL_estimator/baseline_models.py:8:0: R0917: Too many positional arguments (10/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/baseline_models.py:63:4: W0621: Redefining name 'cnn_mlp' from outer scope (line 8) (redefined-outer-name) uqmodels/modelization/DL_estimator/baseline_models.py:15:4: W0613: Unused argument 'dim_z' (unused-argument) ************* Module uqmodels.modelization.DL_estimator.transformer_ed uqmodels/modelization/DL_estimator/transformer_ed.py:1:0: C0114: Missing module docstring (missing-module-docstring) uqmodels/modelization/DL_estimator/transformer_ed.py:3:0: E0611: No name 'keras' in module 'tensorflow' (no-name-in-module) uqmodels/modelization/DL_estimator/transformer_ed.py:19:0: C0115: Missing class docstring (missing-class-docstring) uqmodels/modelization/DL_estimator/transformer_ed.py:24:0: C0115: Missing class docstring (missing-class-docstring) uqmodels/modelization/DL_estimator/transformer_ed.py:29:0: C0115: Missing class docstring (missing-class-docstring) uqmodels/modelization/DL_estimator/transformer_ed.py:35:0: C0115: Missing class docstring (missing-class-docstring) uqmodels/modelization/DL_estimator/transformer_ed.py:44:4: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/transformer_ed.py:45:0: W0613: Unused argument 'kwargs' (unused-argument) uqmodels/modelization/DL_estimator/transformer_ed.py:96:4: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/modelization/DL_estimator/transformer_ed.py:112:8: W0127: Assigning the same variable 'config' to itself (self-assigning-variable) uqmodels/modelization/DL_estimator/transformer_ed.py:116:4: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/modelization/DL_estimator/transformer_ed.py:141:0: R0902: Too many instance attributes (17/15) (too-many-instance-attributes) uqmodels/modelization/DL_estimator/transformer_ed.py:144:4: R0917: Too many positional arguments (8/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/transformer_ed.py:145:0: W0613: Unused argument 'kwargs' (unused-argument) uqmodels/modelization/DL_estimator/transformer_ed.py:177:4: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/transformer_ed.py:233:4: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/modelization/DL_estimator/transformer_ed.py:256:4: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/modelization/DL_estimator/transformer_ed.py:284:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/modelization/DL_estimator/transformer_ed.py:284:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/modelization/DL_estimator/transformer_ed.py:284:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/modelization/DL_estimator/transformer_ed.py:284:0: R0917: Too many positional arguments (26/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/transformer_ed.py:285:0: W0613: Unused argument 'kwargs' (unused-argument) uqmodels/modelization/DL_estimator/transformer_ed.py:486:4: W0102: Dangerous default value {} as argument (dangerous-default-value) uqmodels/modelization/DL_estimator/transformer_ed.py:486:4: W0102: Dangerous default value dict() (builtins.dict) as argument (dangerous-default-value) uqmodels/modelization/DL_estimator/transformer_ed.py:486:4: R0917: Too many positional arguments (10/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/transformer_ed.py:490:28: R1735: Consider using '{}' instead of a call to 'dict'. (use-dict-literal) uqmodels/modelization/DL_estimator/transformer_ed.py:528:4: W0221: Number of parameters was 6 in 'NN_UQ.factory' and is now 6 in overriding 'Transformer_ED_UQ.factory' method (arguments-differ) uqmodels/modelization/DL_estimator/transformer_ed.py:528:0: W0613: Unused argument 'kwarg' (unused-argument) uqmodels/modelization/DL_estimator/transformer_ed.py:589:4: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) uqmodels/modelization/DL_estimator/transformer_ed.py:601:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/modelization/DL_estimator/transformer_ed.py:601:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/modelization/DL_estimator/transformer_ed.py:601:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/modelization/DL_estimator/transformer_ed.py:601:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/modelization/DL_estimator/transformer_ed.py:601:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/modelization/DL_estimator/transformer_ed.py:601:0: R0917: Too many positional arguments (24/5) (too-many-positional-arguments) ************* Module uqmodels.modelization.ML_estimator.baseline uqmodels/modelization/ML_estimator/baseline.py:135:0: C0325: Unnecessary parens after 'not' keyword (superfluous-parens) uqmodels/modelization/ML_estimator/baseline.py:415:0: C0325: Unnecessary parens after 'not' keyword (superfluous-parens) uqmodels/modelization/ML_estimator/baseline.py:49:4: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/modelization/ML_estimator/baseline.py:49:4: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) uqmodels/modelization/ML_estimator/baseline.py:87:4: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) uqmodels/modelization/ML_estimator/baseline.py:125:4: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) uqmodels/modelization/ML_estimator/baseline.py:145:4: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) uqmodels/modelization/ML_estimator/baseline.py:180:4: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) uqmodels/modelization/ML_estimator/baseline.py:236:4: W0221: Number of parameters was 9 in 'UQEstimator._tuning' and is now 4 in overriding 'GPR_UQEstimator._tuning' method (arguments-differ) uqmodels/modelization/ML_estimator/baseline.py:246:4: R0917: Too many positional arguments (10/5) (too-many-positional-arguments) uqmodels/modelization/ML_estimator/baseline.py:266:8: W0127: Assigning the same variable 'type_UQ' to itself (self-assigning-variable) uqmodels/modelization/ML_estimator/baseline.py:292:4: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) uqmodels/modelization/ML_estimator/baseline.py:293:0: W0613: Unused argument 'kwargs' (unused-argument) uqmodels/modelization/ML_estimator/baseline.py:304:4: W0221: Number of parameters was 2 in 'UQEstimator.get_params' and is now 2 in overriding 'REGML_UQEstimator.get_params' method (arguments-differ) uqmodels/modelization/ML_estimator/baseline.py:304:0: W0613: Unused argument 'kwargs' (unused-argument) uqmodels/modelization/ML_estimator/baseline.py:395:35: E0601: Using variable 'UQ' before assignment (used-before-assignment) uqmodels/modelization/ML_estimator/baseline.py:398:4: W0221: Number of parameters was 9 in 'UQEstimator._tuning' and is now 7 in overriding 'REGML_UQEstimator._tuning' method (arguments-differ) uqmodels/modelization/ML_estimator/baseline.py:398:4: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) ************* Module uqmodels.modelization.ML_estimator.random_forest_UQ uqmodels/modelization/ML_estimator/random_forest_UQ.py:523:0: C0325: Unnecessary parens after 'not' keyword (superfluous-parens) uqmodels/modelization/ML_estimator/random_forest_UQ.py:1:0: C0114: Missing module docstring (missing-module-docstring) uqmodels/modelization/ML_estimator/random_forest_UQ.py:14:4: R0917: Too many positional arguments (10/5) (too-many-positional-arguments) uqmodels/modelization/ML_estimator/random_forest_UQ.py:67:38: R1735: Consider using '{}' instead of a call to 'dict'. (use-dict-literal) uqmodels/modelization/ML_estimator/random_forest_UQ.py:82:4: W0222: Signature differs from overridden '_format' method (signature-differs) uqmodels/modelization/ML_estimator/random_forest_UQ.py:82:4: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) uqmodels/modelization/ML_estimator/random_forest_UQ.py:82:0: W0613: Unused argument 'kwargs' (unused-argument) uqmodels/modelization/ML_estimator/random_forest_UQ.py:103:4: W0237: Parameter 'skip_format' has been renamed to 'sample_weight' in overriding 'RF_UQEstimator.fit' method (arguments-renamed) uqmodels/modelization/ML_estimator/random_forest_UQ.py:124:30: R1735: Consider using '{}' instead of a call to 'dict'. (use-dict-literal) uqmodels/modelization/ML_estimator/random_forest_UQ.py:110:8: R0912: Too many branches (15/12) (too-many-branches) uqmodels/modelization/ML_estimator/random_forest_UQ.py:110:40: W0613: Unused argument 'pred_leaf' (unused-argument) uqmodels/modelization/ML_estimator/random_forest_UQ.py:210:8: R0917: Too many positional arguments (10/5) (too-many-positional-arguments) uqmodels/modelization/ML_estimator/random_forest_UQ.py:265:30: R1735: Consider using '{}' instead of a call to 'dict'. (use-dict-literal) uqmodels/modelization/ML_estimator/random_forest_UQ.py:314:33: R1735: Consider using '{}' instead of a call to 'dict'. (use-dict-literal) uqmodels/modelization/ML_estimator/random_forest_UQ.py:103:4: R0915: Too many statements (80/50) (too-many-statements) uqmodels/modelization/ML_estimator/random_forest_UQ.py:103:4: R1711: Useless return at end of function or method (useless-return) uqmodels/modelization/ML_estimator/random_forest_UQ.py:321:4: W0237: Parameter 'skip_format' has been renamed to 'beta' in overriding 'RF_UQEstimator.predict' method (arguments-renamed) uqmodels/modelization/ML_estimator/random_forest_UQ.py:338:25: W0612: Unused variable 'var_A' (unused-variable) uqmodels/modelization/ML_estimator/random_forest_UQ.py:338:32: W0612: Unused variable 'var_E' (unused-variable) uqmodels/modelization/ML_estimator/random_forest_UQ.py:385:12: W0613: Unused argument 'prediction' (unused-argument) uqmodels/modelization/ML_estimator/random_forest_UQ.py:519:29: E0606: Possibly using variable 'UQ' before assignment (possibly-used-before-assignment) uqmodels/modelization/ML_estimator/random_forest_UQ.py:521:4: W0221: Number of parameters was 9 in 'UQEstimator._tuning' and is now 7 in overriding 'RF_UQEstimator._tuning' method (arguments-differ) uqmodels/modelization/ML_estimator/random_forest_UQ.py:521:4: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) uqmodels/modelization/ML_estimator/random_forest_UQ.py:533:0: R0917: Too many positional arguments (17/5) (too-many-positional-arguments) ************* Module uqmodels.visualization.visualization_mutisource uqmodels/visualization/visualization_mutisource.py:1:0: C0302: Too many lines in module (1043/1000) (too-many-lines) uqmodels/visualization/visualization_mutisource.py:23:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/visualization/visualization_mutisource.py:28:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/visualization/visualization_mutisource.py:88:15: E0606: Possibly using variable 'y' before assignment (possibly-used-before-assignment) uqmodels/visualization/visualization_mutisource.py:88:18: E0606: Possibly using variable 'dates' before assignment (possibly-used-before-assignment) uqmodels/visualization/visualization_mutisource.py:137:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/visualization/visualization_mutisource.py:137:0: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) uqmodels/visualization/visualization_mutisource.py:154:8: W0612: Unused variable 'time_step' (unused-variable) uqmodels/visualization/visualization_mutisource.py:156:8: W0612: Unused variable 'range_' (unused-variable) uqmodels/visualization/visualization_mutisource.py:159:8: W0612: Unused variable 'list_step_target' (unused-variable) uqmodels/visualization/visualization_mutisource.py:207:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/visualization/visualization_mutisource.py:207:0: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) uqmodels/visualization/visualization_mutisource.py:314:11: W0125: Using a conditional statement with a constant value (using-constant-test) uqmodels/visualization/visualization_mutisource.py:231:8: W0612: Unused variable 'range_' (unused-variable) uqmodels/visualization/visualization_mutisource.py:234:8: W0612: Unused variable 'list_step_target' (unused-variable) uqmodels/visualization/visualization_mutisource.py:251:12: W0612: Unused variable 'x_inter' (unused-variable) uqmodels/visualization/visualization_mutisource.py:265:8: W0612: Unused variable 'x' (unused-variable) uqmodels/visualization/visualization_mutisource.py:286:8: W0612: Unused variable 'x_chan' (unused-variable) uqmodels/visualization/visualization_mutisource.py:332:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/visualization/visualization_mutisource.py:332:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/visualization/visualization_mutisource.py:332:0: R0917: Too many positional arguments (8/5) (too-many-positional-arguments) uqmodels/visualization/visualization_mutisource.py:495:12: E1123: Unexpected keyword argument 'n_expand' in function call (unexpected-keyword-arg) uqmodels/visualization/visualization_mutisource.py:332:0: R0915: Too many statements (52/50) (too-many-statements) uqmodels/visualization/visualization_mutisource.py:372:4: W0612: Unused variable 'S_anom_chan' (unused-variable) uqmodels/visualization/visualization_mutisource.py:372:17: W0612: Unused variable 'S_anom_sensor' (unused-variable) uqmodels/visualization/visualization_mutisource.py:384:4: W0612: Unused variable 'f' (unused-variable) uqmodels/visualization/visualization_mutisource.py:543:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/visualization/visualization_mutisource.py:543:0: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) uqmodels/visualization/visualization_mutisource.py:584:0: W1404: Implicit string concatenation found in list (implicit-str-concat) uqmodels/visualization/visualization_mutisource.py:633:47: E0606: Possibly using variable 'dtype' before assignment (possibly-used-before-assignment) uqmodels/visualization/visualization_mutisource.py:568:12: W0612: Unused variable 'time_step' (unused-variable) uqmodels/visualization/visualization_mutisource.py:574:12: W0612: Unused variable 'list_time_factor' (unused-variable) uqmodels/visualization/visualization_mutisource.py:575:12: W0612: Unused variable 'list_sensors_primaire' (unused-variable) uqmodels/visualization/visualization_mutisource.py:612:59: W0612: Unused variable 'list_top' (unused-variable) uqmodels/visualization/visualization_mutisource.py:623:4: W0612: Unused variable 'f' (unused-variable) uqmodels/visualization/visualization_mutisource.py:691:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/visualization/visualization_mutisource.py:691:0: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) uqmodels/visualization/visualization_mutisource.py:887:18: E1124: Argument 'date_init' passed by position and keyword in function call (redundant-keyword-arg) uqmodels/visualization/visualization_mutisource.py:988:21: E1124: Argument 'date_init' passed by position and keyword in function call (redundant-keyword-arg) uqmodels/visualization/visualization_mutisource.py:691:0: R0915: Too many statements (107/50) (too-many-statements) uqmodels/visualization/visualization_mutisource.py:692:76: W0613: Unused argument 'matplot' (unused-argument) uqmodels/visualization/visualization_mutisource.py:715:8: W0612: Unused variable 'dtype' (unused-variable) uqmodels/visualization/visualization_mutisource.py:733:37: W0612: Unused variable 'S_anom_agg' (unused-variable) ************* Module uqmodels.visualization.aux_visualization uqmodels/visualization/aux_visualization.py:425:0: C0325: Unnecessary parens after '=' keyword (superfluous-parens) uqmodels/visualization/aux_visualization.py:1:0: C0114: Missing module docstring (missing-module-docstring) uqmodels/visualization/aux_visualization.py:9:0: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) uqmodels/visualization/aux_visualization.py:231:0: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) uqmodels/visualization/aux_visualization.py:304:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/visualization/aux_visualization.py:304:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/visualization/aux_visualization.py:304:0: R0917: Too many positional arguments (8/5) (too-many-positional-arguments) uqmodels/visualization/aux_visualization.py:392:0: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) uqmodels/visualization/aux_visualization.py:472:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/visualization/aux_visualization.py:472:0: R0917: Too many positional arguments (15/5) (too-many-positional-arguments) uqmodels/visualization/aux_visualization.py:481:4: W0613: Unused argument 'split_values' (unused-argument) uqmodels/visualization/aux_visualization.py:486:4: W0613: Unused argument 'env' (unused-argument) uqmodels/visualization/aux_visualization.py:473:0: W0613: Unused argument 'kwarg' (unused-argument) uqmodels/visualization/aux_visualization.py:653:0: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) uqmodels/visualization/aux_visualization.py:695:0: R0917: Too many positional arguments (8/5) (too-many-positional-arguments) uqmodels/visualization/aux_visualization.py:756:0: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) uqmodels/visualization/aux_visualization.py:764:0: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) uqmodels/visualization/aux_visualization.py:780:0: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) uqmodels/visualization/aux_visualization.py:817:4: R1705: Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return) uqmodels/visualization/aux_visualization.py:873:8: W0101: Unreachable code (unreachable) uqmodels/visualization/aux_visualization.py:808:0: R1710: Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements) uqmodels/visualization/aux_visualization.py:5:0: C0412: Imports from package matplotlib are not grouped (ungrouped-imports) ************* Module uqmodels.visualization.old_visualisation uqmodels/visualization/old_visualisation.py:1:0: C0114: Missing module docstring (missing-module-docstring) uqmodels/visualization/old_visualisation.py:6:0: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) uqmodels/visualization/old_visualisation.py:29:20: C0201: Consider iterating the dictionary directly instead of calling .keys() (consider-iterating-dictionary) uqmodels/visualization/old_visualisation.py:33:20: C0201: Consider iterating the dictionary directly instead of calling .keys() (consider-iterating-dictionary) uqmodels/visualization/old_visualisation.py:76:8: C2401: Argument name "σ" contains a non-ASCII character, consider renaming it. (non-ascii-name) uqmodels/visualization/old_visualisation.py:102:20: C0201: Consider iterating the dictionary directly instead of calling .keys() (consider-iterating-dictionary) uqmodels/visualization/old_visualisation.py:6:0: R0912: Too many branches (14/12) (too-many-branches) uqmodels/visualization/old_visualisation.py:140:20: C0201: Consider iterating the dictionary directly instead of calling .keys() (consider-iterating-dictionary) uqmodels/visualization/old_visualisation.py:144:20: C0201: Consider iterating the dictionary directly instead of calling .keys() (consider-iterating-dictionary) uqmodels/visualization/old_visualisation.py:145:8: W0104: Statement seems to have no effect (pointless-statement) uqmodels/visualization/old_visualisation.py:215:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/visualization/old_visualisation.py:234:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/visualization/old_visualisation.py:234:0: R0917: Too many positional arguments (8/5) (too-many-positional-arguments) uqmodels/visualization/old_visualisation.py:251:35: E1120: No value for argument 'type_UQ' in function call (no-value-for-parameter) ************* Module uqmodels.visualization.visualization uqmodels/visualization/visualization.py:24:0: R0917: Too many positional arguments (13/5) (too-many-positional-arguments) uqmodels/visualization/visualization.py:24:0: R0912: Too many branches (17/12) (too-many-branches) uqmodels/visualization/visualization.py:24:0: R0915: Too many statements (57/50) (too-many-statements) uqmodels/visualization/visualization.py:25:0: W0613: Unused argument 'kwargs' (unused-argument) uqmodels/visualization/visualization.py:79:4: W0612: Unused variable 'fig' (unused-variable) uqmodels/visualization/visualization.py:181:0: R0917: Too many positional arguments (15/5) (too-many-positional-arguments) uqmodels/visualization/visualization.py:261:16: W0612: Unused variable 'len_score' (unused-variable) uqmodels/visualization/visualization.py:382:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/visualization/visualization.py:382:0: W0102: Dangerous default value [] as argument (dangerous-default-value) uqmodels/visualization/visualization.py:382:0: R0917: Too many positional arguments (16/5) (too-many-positional-arguments) uqmodels/visualization/visualization.py:493:4: R1715: Consider using dict.get for getting values from a dict if a key is present or a default if not (consider-using-get) uqmodels/visualization/visualization.py:551:17: W0212: Access to a protected member _get_panel_ax of a client class (protected-access) uqmodels/visualization/visualization.py:382:0: R0912: Too many branches (38/12) (too-many-branches) uqmodels/visualization/visualization.py:382:0: R0915: Too many statements (116/50) (too-many-statements) uqmodels/visualization/visualization.py:382:0: R1711: Useless return at end of function or method (useless-return) uqmodels/visualization/visualization.py:533:4: W0612: Unused variable 'fig' (unused-variable) uqmodels/visualization/visualization.py:783:0: R0917: Too many positional arguments (12/5) (too-many-positional-arguments) uqmodels/visualization/visualization.py:844:4: C0415: Import outside toplevel (scipy.stats) (import-outside-toplevel) uqmodels/visualization/visualization.py:895:4: C0200: Consider using enumerate instead of iterating with range and len (consider-using-enumerate) uqmodels/visualization/visualization.py:788:4: W0613: Unused argument 'anom' (unused-argument) uqmodels/visualization/visualization.py:790:4: W0613: Unused argument 'dim' (unused-argument) uqmodels/visualization/visualization.py:12:0: W0611: Unused provide_cmap imported from uqmodels.visualization.aux_visualization (unused-import) uqmodels/visualization/visualization.py:13:0: W0611: Unused plot_prediction_interval imported from uqmodels.visualization.old_visualisation (unused-import) uqmodels/visualization/visualization.py:13:0: W0611: Unused plot_sorted_pi imported from uqmodels.visualization.old_visualisation (unused-import) uqmodels/visualization/visualization.py:14:0: W0611: Unused visu_latent_space imported from uqmodels.visualization.old_visualisation (unused-import) uqmodels/visualization/visualization.py:14:0: W0611: Unused show_dUQ_refinement imported from uqmodels.visualization.old_visualisation (unused-import) ************* Module uqmodels.evaluation.metrics uqmodels/evaluation/metrics.py:1:0: C0114: Missing module docstring (missing-module-docstring) uqmodels/evaluation/metrics.py:18:0: W0613: Unused argument 'kwarg' (unused-argument) uqmodels/evaluation/metrics.py:50:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/evaluation/metrics.py:61:0: C0115: Missing class docstring (missing-class-docstring) uqmodels/evaluation/metrics.py:62:4: W0231: __init__ method from base class 'Encapsulated_metrics' is not called (super-init-not-called) uqmodels/evaluation/metrics.py:62:4: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) uqmodels/evaluation/metrics.py:90:25: R1735: Consider using '{}' instead of a call to 'dict'. (use-dict-literal) uqmodels/evaluation/metrics.py:131:0: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) uqmodels/evaluation/metrics.py:131:0: W0613: Unused argument 'kwarg' (unused-argument) uqmodels/evaluation/metrics.py:163:0: R0917: Too many positional arguments (8/5) (too-many-positional-arguments) uqmodels/evaluation/metrics.py:195:35: E0606: Possibly using variable 'y_lower' before assignment (possibly-used-before-assignment) uqmodels/evaluation/metrics.py:195:50: E0606: Possibly using variable 'y_upper' before assignment (possibly-used-before-assignment) uqmodels/evaluation/metrics.py:164:0: W0613: Unused argument 'kwarg' (unused-argument) uqmodels/evaluation/metrics.py:205:0: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) uqmodels/evaluation/metrics.py:229:16: E0606: Possibly using variable 'sigma' before assignment (possibly-used-before-assignment) uqmodels/evaluation/metrics.py:205:0: W0613: Unused argument 'kwarg' (unused-argument) uqmodels/evaluation/metrics.py:241:0: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) uqmodels/evaluation/metrics.py:267:32: E0606: Possibly using variable 'sigma' before assignment (possibly-used-before-assignment) uqmodels/evaluation/metrics.py:242:0: W0613: Unused argument 'kwarg' (unused-argument) uqmodels/evaluation/metrics.py:283:0: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) uqmodels/evaluation/metrics.py:284:50: W0613: Unused argument 'mode' (unused-argument) uqmodels/evaluation/metrics.py:284:0: W0613: Unused argument 'kwarg' (unused-argument) uqmodels/evaluation/metrics.py:313:0: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) uqmodels/evaluation/metrics.py:331:4: W0127: Assigning the same variable 'val' to itself (self-assigning-variable) uqmodels/evaluation/metrics.py:313:11: W0613: Unused argument 'y' (unused-argument) uqmodels/evaluation/metrics.py:313:0: W0613: Unused argument 'kwarg' (unused-argument) uqmodels/evaluation/metrics.py:328:4: W0612: Unused variable 'pred' (unused-variable) uqmodels/evaluation/metrics.py:342:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/evaluation/metrics.py:342:0: R0917: Too many positional arguments (7/5) (too-many-positional-arguments) uqmodels/evaluation/metrics.py:353:8: W0104: Statement seems to have no effect (pointless-statement) uqmodels/evaluation/metrics.py:355:25: E1121: Too many positional arguments for function call (too-many-function-args) uqmodels/evaluation/metrics.py:368:11: E0606: Possibly using variable 'new_output' before assignment (possibly-used-before-assignment) uqmodels/evaluation/metrics.py:343:15: W0613: Unused argument 'set_' (unused-argument) uqmodels/evaluation/metrics.py:343:0: W0613: Unused argument 'kwarg' (unused-argument) uqmodels/evaluation/metrics.py:371:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/evaluation/metrics.py:371:0: W0613: Unused argument 'kwarg' (unused-argument) uqmodels/evaluation/metrics.py:372:11: W0612: Unused variable 'var_A' (unused-variable) uqmodels/evaluation/metrics.py:372:18: W0612: Unused variable 'var_E' (unused-variable) uqmodels/evaluation/metrics.py:384:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/evaluation/metrics.py:384:0: W0613: Unused argument 'kwarg' (unused-argument) uqmodels/evaluation/metrics.py:388:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/evaluation/metrics.py:388:0: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) uqmodels/evaluation/metrics.py:392:4: W0127: Assigning the same variable 'val' to itself (self-assigning-variable) uqmodels/evaluation/metrics.py:388:8: W0613: Unused argument 'y' (unused-argument) uqmodels/evaluation/metrics.py:388:39: W0613: Unused argument 'type_output' (unused-argument) uqmodels/evaluation/metrics.py:388:0: W0613: Unused argument 'kwarg' (unused-argument) uqmodels/evaluation/metrics.py:389:4: W0612: Unused variable 'pred' (unused-variable) uqmodels/evaluation/metrics.py:400:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/evaluation/metrics.py:400:0: R0917: Too many positional arguments (8/5) (too-many-positional-arguments) uqmodels/evaluation/metrics.py:415:4: W0621: Redefining name 'anom_score' from outer scope (line 400) (redefined-outer-name) uqmodels/evaluation/metrics.py:409:8: W0104: Statement seems to have no effect (pointless-statement) uqmodels/evaluation/metrics.py:414:4: E0601: Using variable 'ind_A' before assignment (used-before-assignment) uqmodels/evaluation/metrics.py:401:0: W0613: Unused argument 'kwarg' (unused-argument) uqmodels/evaluation/metrics.py:428:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/evaluation/metrics.py:428:0: R0917: Too many positional arguments (8/5) (too-many-positional-arguments) uqmodels/evaluation/metrics.py:443:4: W0621: Redefining name 'confidence_score' from outer scope (line 428) (redefined-outer-name) uqmodels/evaluation/metrics.py:437:8: W0104: Statement seems to have no effect (pointless-statement) uqmodels/evaluation/metrics.py:429:4: W0613: Unused argument 'y' (unused-argument) uqmodels/evaluation/metrics.py:429:0: W0613: Unused argument 'kwarg' (unused-argument) uqmodels/evaluation/metrics.py:431:4: W0612: Unused variable 'pred' (unused-variable) ************* Module uqmodels.evaluation.base_metrics uqmodels/evaluation/base_metrics.py:13:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/evaluation/base_metrics.py:14:11: W1114: Positional arguments appear to be out of order (arguments-out-of-order) uqmodels/evaluation/base_metrics.py:17:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/evaluation/base_metrics.py:18:19: W1114: Positional arguments appear to be out of order (arguments-out-of-order) uqmodels/evaluation/base_metrics.py:21:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/evaluation/base_metrics.py:26:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/evaluation/base_metrics.py:32:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/evaluation/base_metrics.py:33:4: W0106: Expression "-np.log(sigma) - 0.5 * np.log(2 * np.pi) - (y - pred)**2 / (2 * sigma**2)" is assigned to nothing (expression-not-assigned) uqmodels/evaluation/base_metrics.py:36:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/evaluation/base_metrics.py:40:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/evaluation/base_metrics.py:44:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/evaluation/base_metrics.py:49:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/evaluation/base_metrics.py:53:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/evaluation/base_metrics.py:57:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/evaluation/base_metrics.py:65:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/evaluation/base_metrics.py:75:12: R1736: Unnecessary list index lookup, use 'flag' instead (unnecessary-list-index-lookup) uqmodels/evaluation/base_metrics.py:72:11: W0612: Unused variable 'flag' (unused-variable) uqmodels/evaluation/base_metrics.py:105:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/evaluation/base_metrics.py:105:0: R0917: Too many positional arguments (9/5) (too-many-positional-arguments) uqmodels/evaluation/base_metrics.py:106:65: W0613: Unused argument 'verbose' (unused-argument) uqmodels/evaluation/base_metrics.py:117:8: W0612: Unused variable 'n' (unused-variable) ************* Module uqmodels.evaluation.evaluation uqmodels/evaluation/evaluation.py:1:0: C0114: Missing module docstring (missing-module-docstring) uqmodels/evaluation/evaluation.py:9:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/evaluation/evaluation.py:22:8: W0104: Statement seems to have no effect (pointless-statement) uqmodels/evaluation/evaluation.py:49:8: W0631: Using possibly undefined loop variable 'n' (undefined-loop-variable) uqmodels/evaluation/evaluation.py:60:0: C0116: Missing function or method docstring (missing-function-docstring) uqmodels/evaluation/evaluation.py:60:0: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) uqmodels/evaluation/evaluation.py:72:0: C0116: Missing function or method docstring (missing-function-docstring) ************* Module uqmodels.evaluation.__init__ uqmodels/evaluation/__init__.py:1:0: R0801: Similar lines in 2 files ==uqmodels.preprocessing.preprocessing:[33:129] ==uqmodels.preprocessing.utils:[21:112] if isinstance(input, np.ndarray): # print('Change ndarray in pd.dataframe') return pd.DataFrame(input) if not isinstance(input, pd.DataFrame): print("Type issues in " + inspect.stack()[1].function) print(name + "should be pd.DataFrame rather than " + type(input)) raise TypeError return input def select_features_from_FI(X, y, model="RF", threesold=0.01, **kwargs): if model == "RF": estimator = RandomForestRegressor( ccp_alpha=1e-05, max_depth=15, max_features=0.5, max_samples=0.5, min_impurity_decrease=0.0001, min_samples_leaf=2, min_samples_split=8, n_estimators=100, random_state=0, ) estimator.fit(X, y) features_mask = estimator.feature_importances_ > threesold return features_mask def select_data_and_context( data, context=None, ind_data=None, ind_context=None, **kwargs ): """Select data and context using ind_data & ind_context. Args: data (ndarray): data context (ndarray, optional): context_data. Defaults to None. n_components (int, optional): n_components of pca. Defaults to 3. ind_data (ind_array, optional): selected data. Defaults to None : all dim are pick ind_context (ind_array, optional): seletected data context. Defaults to None : all dim are pick if there is context Returns: data_selected : Ndarray that contains np.concatenation of all selected features """ data = check_transform_input_to_panda(data, "data") if context is not None: context = check_transform_input_to_panda(context, "data") data_selected = [] if ind_data is None: pass else: data_selected.append(data.loc[:, ind_data]) if ind_context is None: pass else: data_selected.append(context.loc[:, ind_context]) if len(data_selected) == 0: data_selected = data else: data_selected = pd.concat(data_selected, axis=1) return data_selected.values def build_window_representation(y, step=1, window=10): if step > 1: mask = np.arange(len(y)) % step == step - 1 else: mask = np.ones(len(y)) == 1 list_df = [] for i in range(window): dict_df_ts = { "id": np.arange(len(y[mask])), "time": np.roll(np.arange(len(y[mask])), i), } for k in range(y.shape[1]): dict_df_ts["value_" + str(k + 1)] = np.roll(y[:, k], i, axis=0)[mask] df_ts = pd.DataFrame(dict_df_ts) list_df.append(df_ts) df_ts = pd.concat(list_df) y_target = y[mask] if len(y) == window: df_ts = df_ts[df_ts["id"] == len(y) - 1] y_target = y_target[-1:] return (df_ts, y_target) (duplicate-code) uqmodels/evaluation/__init__.py:1:0: R0801: Similar lines in 2 files ==uqmodels.modelization.DL_estimator.lstm_ed:[300:349] ==uqmodels.modelization.DL_estimator.transformer_ed:[516:565] model_parameters=model_parameters, factory_parameters=factory_parameters, training_parameters=training_parameters, type_output=type_output, rescale=rescale, n_ech=n_ech, train_ratio=train_ratio, name=name, random_state=random_state, ) def factory(self, X, y, mask=None, only_fit_scaler=False, **kwarg): model_params = self.model_parameters factory_params = self.factory_parameters with_ctx_input = model_params["with_ctx_input"] step = 1 if "step" in model_params.keys(): step = model_params["step"] X_none = False if X is None: X_none = True if X_none: inputs = None else: if with_ctx_input: X, X_lag = X X, X_lag, mask = super().factory(X, X_lag, mask) if only_fit_scaler: return None X_lt = stack_and_roll( X, model_params["n_windows"], lag=factory_params["factory_lag_lt"], step=step, ) X_st = stack_and_roll( X_lag, model_params["size_window"], lag=factory_params["factory_lag_st"] - 1, step=step, ) inputs = [X_lt, X_st] else: (duplicate-code) uqmodels/evaluation/__init__.py:1:0: R0801: Similar lines in 2 files ==uqmodels.modelization.DL_estimator.lstm_ed:[150:163] ==uqmodels.modelization.DL_estimator.transformer_ed:[383:396] if with_convolution: MWE = Mouving_conv_Embedding( size_window, n_windows, step=step, dim_d=dim_dyn, dim_chan=dim_chan, use_conv2D=True, list_strides=list_strides, list_filters=list_filters, list_kernels=list_kernels, dp=0.05, flag_mc=flag_mc, (duplicate-code) uqmodels/evaluation/__init__.py:1:0: R0801: Similar lines in 2 files ==uqmodels.modelization.DL_estimator.lstm_ed:[374:415] ==uqmodels.modelization.DL_estimator.transformer_ed:[586:628] return inputs, new_y, mask def Build_generator(self, X, y, batch=32, shuffle=True, train=True): return Folder_Generator( X, y, self, batch=batch, shuffle=shuffle, train=train, random_state=self.random_state, ) def get_params_dict( dim_ctx, dim_dyn, dim_target, size_window=20, n_windows=5, dim_horizon=5, step=1, dim_chan=1, dp=0.05, dp_rec=0.05, dim_z=50, k_reg=(10e-7, 10e-7), num_lstm_enc=1, num_lstm_dec=1, layers_enc=[150, 75], layers_dec=[200, 125, 75], list_strides=[2, 1, 1, 1], list_filters=[128, 128, 128], list_kernels=None, with_convolution=True, with_ctx_input=True, n_ech=3, type_output="MC_Dropout", ): dict_params = { "dim_ctx": dim_ctx, (duplicate-code) uqmodels/evaluation/__init__.py:1:0: R0801: Similar lines in 2 files ==uqmodels.postprocessing.UQ_processing:[471:483] ==uqmodels.postprocessing.anomaly_processing:[546:558] UQ, type_UQ=type_UQ, min_cut=min_cut, max_cut=max_cut, var_min=0, var_max=None, factor=2, q_var=q_var, q_Eratio=q_Eratio, mode_multidim=True, ) (duplicate-code) uqmodels/evaluation/__init__.py:1:0: R0801: Similar lines in 2 files ==uqmodels.modelization.DL_estimator.lstm_ed:[173:184] ==uqmodels.modelization.DL_estimator.transformer_ed:[411:422] dim_embedding = MWE.last_shape if with_ctx_input: dim_embedding += dim_ctx Embeddor_ctx = mlp( dim_in=dim_embedding, dim_out=None, layers_size=layers_enc, dp=dp, name="Embeddor", regularizer_W=k_reg, (duplicate-code) uqmodels/evaluation/__init__.py:1:0: R0801: Similar lines in 2 files ==uqmodels.custom_UQModel:[327:336] ==uqmodels.postprocessing.custom_UQKPI_Processor:[26:35] "type_norm": "Nsigma_local", "q_var": 1, "d": 2, "beta": 0.001, "beta_source": 0.001, "beta_global": 0.001, "min_cut": 0.002, "max_cut": 0.998, "per_seuil": 0.999, (duplicate-code) uqmodels/evaluation/__init__.py:1:0: R0801: Similar lines in 2 files ==uqmodels.modelization.DL_estimator.lstm_ed:[86:97] ==uqmodels.modelization.DL_estimator.transformer_ed:[354:366] Interpretor = mlp( dim_in=dim_z, dim_out=dim_target, layers_size=layers_dec, dp=dp, type_output=type_output, name="Interpretor", random_state=random_state, ) # Encoder LSTM (duplicate-code) uqmodels/evaluation/__init__.py:1:0: R0801: Similar lines in 2 files ==uqmodels.modelization.DL_estimator.lstm_ed:[350:363] ==uqmodels.modelization.DL_estimator.transformer_ed:[566:579] if only_fit_scaler: return None X_lag = X X_st = stack_and_roll( X, model_params["size_window"], lag=factory_params["factory_lag_st"] - 1, step=step, ) inputs = [X_st] new_y = None if y is not None: (duplicate-code) uqmodels/evaluation/__init__.py:1:0: R0801: Similar lines in 2 files ==uqmodels.modelization.DL_estimator.Lstm_WS_ED:[568:577] ==uqmodels.modelization.DL_estimator.neural_network_UQ:[499:508] steps_per_epoch = In_.__len__() validation_steps = validation_data_.__len__() batch_size = None else: In_ = Inputs Tar_ = Targets validation_data_ = validation_data validation_steps = None steps_per_epoch = None (duplicate-code) uqmodels/evaluation/__init__.py:1:0: R0801: Similar lines in 2 files ==uqmodels.modelization.ML_estimator.baseline:[94:109] ==uqmodels.modelization.UQEstimator:[414:433] X, y = super()._format( X=X, y=y, type_transform=type_transform, mode_UQ=mode_UQ, skip_format=skip_format, ) return (X, y) def _tuning( self, X: Array, y: Array, n_esti: int = 100, folds: int = 4, params: Dict_params = None, **kwarg, ) -> None: """Perform a random search tuning using a parameter grid.""" (duplicate-code) uqmodels/evaluation/__init__.py:1:0: R0801: Similar lines in 2 files ==uqmodels.postprocessing.UQ_processing:[571:578] ==uqmodels.postprocessing.anomaly_processing:[742:749] min_cut=min_cut, max_cut=max_cut, var_min=var_min, var_max=var_max, q_var=q_var, q_var_e=q_var_e, k_var_e=k_var_e, (duplicate-code) uqmodels/evaluation/__init__.py:1:0: R0801: Similar lines in 2 files ==uqmodels.postprocessing.UQKPI_Processor:[154:161] ==uqmodels.postprocessing.UQ_processing:[226:233] pred=None, y=None, type_UQ_params=None, var_min=0, var_max=None, min_cut=0, max_cut=1, (duplicate-code) uqmodels/evaluation/__init__.py:1:0: R0801: Similar lines in 2 files ==uqmodels.modelization.DL_estimator.neural_network_UQ:[62:69] ==uqmodels.modelization.UQEstimator:[272:279] super().__init__( name=name, type_UQ=type_UQ, rescale=rescale, var_min=var_min, random_state=random_state, ) (duplicate-code) uqmodels/evaluation/__init__.py:1:0: R0801: Similar lines in 2 files ==uqmodels.modelization.ML_estimator.baseline:[294:301] ==uqmodels.modelization.UQEstimator:[414:421] X, y = super()._format( X=X, y=y, type_transform=type_transform, mode_UQ=mode_UQ, skip_format=skip_format, ) (duplicate-code) uqmodels/evaluation/__init__.py:1:0: R0801: Similar lines in 2 files ==uqmodels.modelization.DL_estimator.Lstm_WS_ED:[640:647] ==uqmodels.modelization.DL_estimator.neural_network_UQ:[611:618] if generator: pred = [] var_a = [] var_e = [] for Inputs_gen, _ in Inputs: # by batch do n inf and aggreagate results output = [] for i in range(n_ech): (duplicate-code) uqmodels/evaluation/__init__.py:1:0: R0801: Similar lines in 2 files ==uqmodels.modelization.DL_estimator.Lstm_WS_ED:[654:662] ==uqmodels.modelization.DL_estimator.neural_network_UQ:[631:638] pred = np.concatenate(pred, axis=0) var_a = np.concatenate(var_a, axis=0) var_e = np.concatenate(var_e, axis=0) UQ = np.concatenate([var_a[None, :], var_e[None, :]], axis=0) else: output = [] for i in range(n_ech): (duplicate-code) uqmodels/evaluation/__init__.py:1:0: R0801: Similar lines in 2 files ==uqmodels.UQModel:[363:370] ==uqmodels.custom_UQModel:[819:826] train = None if x_split is not None: train = x_split == 1 X, y = apply_mask(X, train), apply_mask(y, train) if sample_weight is not None: sample_weight = sample_weight[train] # Called fit procedure for each dataset (duplicate-code) uqmodels/evaluation/__init__.py:1:0: R0801: Similar lines in 2 files ==uqmodels.preprocessing.features_processing:[283:289] ==uqmodels.utils:[806:812] if i > 0: Y_cur[0:i] = 0 for g in range(dim[1]): new_features_list.append(Y_cur[:, g]) new_features_name.append("lag_" + str(i) + "_dim:" + str(g)) new_features_name = np.array(new_features_name) (duplicate-code) uqmodels/evaluation/__init__.py:1:0: R0801: Similar lines in 2 files ==uqmodels.postprocessing.UQKPI_Processor:[342:348] ==uqmodels.postprocessing.custom_UQKPI_Processor:[114:120] UQ=UQ, type_UQ=type_UQ, pred=pred, y=y, type_UQ_params=type_UQ_params, ctx_mask=ctx_mask, (duplicate-code) uqmodels/evaluation/__init__.py:1:0: R0801: Similar lines in 2 files ==uqmodels.modelization.ML_estimator.baseline:[270:277] ==uqmodels.modelization.UQEstimator:[273:279] name=name, type_UQ=type_UQ, rescale=rescale, var_min=var_min, random_state=random_state, ) (duplicate-code) uqmodels/evaluation/__init__.py:1:0: R0801: Similar lines in 2 files ==uqmodels.modelization.DL_estimator.lstm_ed:[364:371] ==uqmodels.modelization.DL_estimator.transformer_ed:[580:586] new_y = stack_and_roll( y, model_params["dim_horizon"], lag=model_params["dim_horizon"] - 1, step=step, ) # Cast to tuple : (duplicate-code) uqmodels/evaluation/__init__.py:1:0: R0801: Similar lines in 2 files ==uqmodels.modelization.DL_estimator.Lstm_WS_ED:[640:646] ==uqmodels.modelization.DL_estimator.neural_network_UQ:[720:726] if generator: pred = [] var_a = [] var_e = [] for Inputs_gen, _ in Inputs: # by batch do n inf and aggreagate results output = [] (duplicate-code) uqmodels/evaluation/__init__.py:1:0: R0801: Similar lines in 2 files ==uqmodels.postprocessing.UQ_processing:[740:745] ==uqmodels.postprocessing.anomaly_processing:[400:405] UQ, type_UQ, pred, y, type_UQ_params, (duplicate-code) uqmodels/evaluation/__init__.py:1:0: R0801: Similar lines in 2 files ==uqmodels.postprocessing.UQ_processing:[927:932] ==uqmodels.postprocessing.anomaly_processing:[307:312] UQ, type_UQ, pred, y=None, type_UQ_params=type_UQ_params, (duplicate-code) uqmodels/evaluation/__init__.py:1:0: R0801: Similar lines in 2 files ==uqmodels.postprocessing.UQ_processing:[361:366] ==uqmodels.postprocessing.anomaly_processing:[742:747] min_cut=min_cut, max_cut=max_cut, var_min=var_min, var_max=var_max, q_var=q_var, (duplicate-code) uqmodels/evaluation/__init__.py:1:0: R0801: Similar lines in 2 files ==uqmodels.postprocessing.UQKPI_Processor:[329:334] ==uqmodels.postprocessing.anomaly_processing:[559:564] UQ, type_UQ, pred, y=y, type_UQ_params=type_UQ_params, (duplicate-code) uqmodels/evaluation/__init__.py:1:0: R0801: Similar lines in 2 files ==uqmodels.postprocessing.UQKPI_Processor:[222:227] ==uqmodels.postprocessing.UQ_processing:[761:766] UQ, type_UQ, pred, y, type_UQ_params, (duplicate-code) uqmodels/evaluation/__init__.py:1:0: R0801: Similar lines in 2 files ==uqmodels.preprocessing.Custom_Preprocessor:[95:100] ==uqmodels.preprocessing.Preprocessor:[227:232] super().__init__( name=name, cache=cache, structure=structure, update_query=update_query, (duplicate-code) uqmodels/evaluation/__init__.py:1:0: R0801: Similar lines in 2 files ==uqmodels.modelization.DL_estimator.lstm_ed:[152:157] ==uqmodels.modelization.DL_estimator.transformer_ed:[400:405] size_window, n_windows, step=step, dim_d=dim_dyn, dim_chan=dim_chan, (duplicate-code) uqmodels/evaluation/__init__.py:1:0: R0801: Similar lines in 2 files ==uqmodels.modelization.DL_estimator.Lstm_WS_ED:[947:952] ==uqmodels.modelization.DL_estimator.data_generator:[91:97] self.factory = metamodel.factory self._format = metamodel._format self.rescale = metamodel.rescale self.causality_remove = None self.model_parameters = metamodel.model_parameters (duplicate-code) uqmodels/evaluation/__init__.py:1:0: R0801: Similar lines in 2 files ==uqmodels.modelization.DL_estimator.Lstm_WS_ED:[581:587] ==uqmodels.modelization.DL_estimator.neural_network_UQ:[441:446] validation_data=validation_data_, epochs=epochs[i], steps_per_epoch=steps_per_epoch, validation_steps=validation_steps, batch_size=batch_size, (duplicate-code) ----------------------------------- Your code has been rated at 8.04/10