julearn 0.3.3__tar.gz → 0.3.3.dev4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (233) hide show
  1. {julearn-0.3.3 → julearn-0.3.3.dev4}/.pre-commit-config.yaml +9 -9
  2. {julearn-0.3.3 → julearn-0.3.3.dev4}/PKG-INFO +1 -1
  3. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/changes/contributors.inc +0 -1
  4. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/index.rst +6 -6
  5. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/what_really_need_know/cross_validation.rst +1 -1
  6. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/whats_new.rst +0 -18
  7. {julearn-0.3.3 → julearn-0.3.3.dev4}/examples/99_docs/run_hyperparameters_docs.py +9 -9
  8. {julearn-0.3.3 → julearn-0.3.3.dev4}/ignore_words.txt +1 -1
  9. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/_version.py +2 -2
  10. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/conftest.py +0 -2
  11. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/model_selection/__init__.py +1 -0
  12. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/model_selection/_optuna_searcher.py +3 -6
  13. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/model_selection/tests/test_optuna_searcher.py +0 -1
  14. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/model_selection/tests/test_skopt_searcher.py +0 -1
  15. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/pipeline/merger.py +4 -1
  16. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/pipeline/tests/test_merger.py +4 -8
  17. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/pipeline/tests/test_pipeline_creator.py +2 -6
  18. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/tests/test_api.py +15 -10
  19. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/transformers/cbpm.py +3 -5
  20. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/transformers/dataframe/change_column_types.py +3 -3
  21. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/transformers/tests/test_jucolumntransformers.py +3 -3
  22. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/utils/checks.py +0 -1
  23. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/utils/logging.py +3 -1
  24. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/utils/testing.py +1 -1
  25. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn.egg-info/PKG-INFO +1 -1
  26. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn.egg-info/SOURCES.txt +0 -1
  27. {julearn-0.3.3 → julearn-0.3.3.dev4}/pyproject.toml +8 -12
  28. {julearn-0.3.3 → julearn-0.3.3.dev4}/tox.ini +0 -1
  29. julearn-0.3.3/julearn/external/optuna_searchcv.py +0 -986
  30. {julearn-0.3.3 → julearn-0.3.3.dev4}/.github/ISSUE_TEMPLATE/bug_report.yaml +0 -0
  31. {julearn-0.3.3 → julearn-0.3.3.dev4}/.github/ISSUE_TEMPLATE/config.yml +0 -0
  32. {julearn-0.3.3 → julearn-0.3.3.dev4}/.github/ISSUE_TEMPLATE/documentation_request.yaml +0 -0
  33. {julearn-0.3.3 → julearn-0.3.3.dev4}/.github/ISSUE_TEMPLATE/feature_request.yaml +0 -0
  34. {julearn-0.3.3 → julearn-0.3.3.dev4}/.github/workflows/check-stale.yml +0 -0
  35. {julearn-0.3.3 → julearn-0.3.3.dev4}/.github/workflows/ci-docs.yml +0 -0
  36. {julearn-0.3.3 → julearn-0.3.3.dev4}/.github/workflows/ci.yml +0 -0
  37. {julearn-0.3.3 → julearn-0.3.3.dev4}/.github/workflows/docs-preview.yml +0 -0
  38. {julearn-0.3.3 → julearn-0.3.3.dev4}/.github/workflows/docs.yml +0 -0
  39. {julearn-0.3.3 → julearn-0.3.3.dev4}/.github/workflows/lint.yml +0 -0
  40. {julearn-0.3.3 → julearn-0.3.3.dev4}/.github/workflows/pypi.yml +0 -0
  41. {julearn-0.3.3 → julearn-0.3.3.dev4}/.gitignore +0 -0
  42. {julearn-0.3.3 → julearn-0.3.3.dev4}/AUTHORS.rst +0 -0
  43. {julearn-0.3.3 → julearn-0.3.3.dev4}/LICENSE.md +0 -0
  44. {julearn-0.3.3 → julearn-0.3.3.dev4}/README.md +0 -0
  45. {julearn-0.3.3 → julearn-0.3.3.dev4}/codecov.yml +0 -0
  46. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/Makefile +0 -0
  47. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/_static/css/custom.css +0 -0
  48. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/_static/js/custom.js +0 -0
  49. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/_templates/class.rst +0 -0
  50. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/_templates/function.rst +0 -0
  51. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/_templates/function_warning.rst +0 -0
  52. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/_templates/versions.html +0 -0
  53. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/api/base.rst +0 -0
  54. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/api/index.rst +0 -0
  55. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/api/inspect.rst +0 -0
  56. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/api/main.rst +0 -0
  57. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/api/model_selection.rst +0 -0
  58. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/api/models.rst +0 -0
  59. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/api/pipeline.rst +0 -0
  60. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/api/prepare.rst +0 -0
  61. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/api/scoring.rst +0 -0
  62. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/api/stats.rst +0 -0
  63. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/api/transformers.rst +0 -0
  64. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/api/utils.rst +0 -0
  65. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/api/viz.rst +0 -0
  66. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/available_pipeline_steps.rst +0 -0
  67. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/changes/newsfragments/.gitignore +0 -0
  68. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/conf.py +0 -0
  69. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/configuration.rst +0 -0
  70. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/contributing.rst +0 -0
  71. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/examples.rst +0 -0
  72. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/faq.rst +0 -0
  73. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/getting_started.rst +0 -0
  74. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/images/corrected_ttest.png +0 -0
  75. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/images/final_estimator.png +0 -0
  76. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/images/iris_X.png +0 -0
  77. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/images/iris_df.png +0 -0
  78. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/images/iris_y.png +0 -0
  79. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/images/julearn_logo.png +0 -0
  80. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/images/julearn_logo_calm.png +0 -0
  81. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/images/julearn_logo_confbias.png +0 -0
  82. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/images/julearn_logo_cv.png +0 -0
  83. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/images/julearn_logo_generalization.png +0 -0
  84. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/images/julearn_logo_it.png +0 -0
  85. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/images/julearn_logo_ml.png +0 -0
  86. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/images/julearn_logo_mlit.png +0 -0
  87. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/images/multiple_scorers_run_cv.png +0 -0
  88. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/images/plot_scores.png +0 -0
  89. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/images/scores_run_cv.png +0 -0
  90. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/images/scores_run_cv_splitter.png +0 -0
  91. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/images/scores_run_cv_train.png +0 -0
  92. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/links.inc +0 -0
  93. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/maintaining.rst +0 -0
  94. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/redirect.html +0 -0
  95. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/selected_deeper_topics/CBPM.rst +0 -0
  96. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/selected_deeper_topics/confound_removal.rst +0 -0
  97. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/selected_deeper_topics/cross_validation_splitter.rst +0 -0
  98. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/selected_deeper_topics/hyperparameter_tuning.rst +0 -0
  99. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/selected_deeper_topics/index.rst +0 -0
  100. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/selected_deeper_topics/model_inspect.rst +0 -0
  101. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/selected_deeper_topics/stacked_models.rst +0 -0
  102. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/selected_deeper_topics/target_transformers.rst +0 -0
  103. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/sphinxext/gh_substitutions.py +0 -0
  104. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/what_really_need_know/data.rst +0 -0
  105. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/what_really_need_know/index.rst +0 -0
  106. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/what_really_need_know/model_comparison.rst +0 -0
  107. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/what_really_need_know/model_evaluation.rst +0 -0
  108. {julearn-0.3.3 → julearn-0.3.3.dev4}/docs/what_really_need_know/pipeline.rst +0 -0
  109. {julearn-0.3.3 → julearn-0.3.3.dev4}/examples/00_starting/README.rst +0 -0
  110. {julearn-0.3.3 → julearn-0.3.3.dev4}/examples/00_starting/plot_cm_acc_multiclass.py +0 -0
  111. {julearn-0.3.3 → julearn-0.3.3.dev4}/examples/00_starting/plot_example_regression.py +0 -0
  112. {julearn-0.3.3 → julearn-0.3.3.dev4}/examples/00_starting/plot_stratified_kfold_reg.py +0 -0
  113. {julearn-0.3.3 → julearn-0.3.3.dev4}/examples/00_starting/run_combine_pandas.py +0 -0
  114. {julearn-0.3.3 → julearn-0.3.3.dev4}/examples/00_starting/run_grouped_cv.py +0 -0
  115. {julearn-0.3.3 → julearn-0.3.3.dev4}/examples/00_starting/run_simple_binary_classification.py +0 -0
  116. {julearn-0.3.3 → julearn-0.3.3.dev4}/examples/01_model_comparison/README.rst +0 -0
  117. {julearn-0.3.3 → julearn-0.3.3.dev4}/examples/01_model_comparison/plot_simple_model_comparison.py +0 -0
  118. {julearn-0.3.3 → julearn-0.3.3.dev4}/examples/02_inspection/README.rst +0 -0
  119. {julearn-0.3.3 → julearn-0.3.3.dev4}/examples/02_inspection/plot_groupcv_inspect_svm.py +0 -0
  120. {julearn-0.3.3 → julearn-0.3.3.dev4}/examples/02_inspection/plot_inspect_random_forest.py +0 -0
  121. {julearn-0.3.3 → julearn-0.3.3.dev4}/examples/02_inspection/plot_preprocess.py +0 -0
  122. {julearn-0.3.3 → julearn-0.3.3.dev4}/examples/02_inspection/run_binary_inspect_folds.py +0 -0
  123. {julearn-0.3.3 → julearn-0.3.3.dev4}/examples/03_complex_models/README.rst +0 -0
  124. {julearn-0.3.3 → julearn-0.3.3.dev4}/examples/03_complex_models/run_apply_to_target.py +0 -0
  125. {julearn-0.3.3 → julearn-0.3.3.dev4}/examples/03_complex_models/run_example_pca_featsets.py +0 -0
  126. {julearn-0.3.3 → julearn-0.3.3.dev4}/examples/03_complex_models/run_hyperparameter_multiple_grids.py +0 -0
  127. {julearn-0.3.3 → julearn-0.3.3.dev4}/examples/03_complex_models/run_hyperparameter_tuning.py +0 -0
  128. {julearn-0.3.3 → julearn-0.3.3.dev4}/examples/03_complex_models/run_hyperparameter_tuning_bayessearch.py +0 -0
  129. {julearn-0.3.3 → julearn-0.3.3.dev4}/examples/03_complex_models/run_stacked_models.py +0 -0
  130. {julearn-0.3.3 → julearn-0.3.3.dev4}/examples/04_confounds/README.rst +0 -0
  131. {julearn-0.3.3 → julearn-0.3.3.dev4}/examples/04_confounds/plot_confound_removal_classification.py +0 -0
  132. {julearn-0.3.3 → julearn-0.3.3.dev4}/examples/04_confounds/run_return_confounds.py +0 -0
  133. {julearn-0.3.3 → julearn-0.3.3.dev4}/examples/05_customization/README.rst +0 -0
  134. {julearn-0.3.3 → julearn-0.3.3.dev4}/examples/05_customization/run_custom_scorers_regression.py +0 -0
  135. {julearn-0.3.3 → julearn-0.3.3.dev4}/examples/99_docs/README.rst +0 -0
  136. {julearn-0.3.3 → julearn-0.3.3.dev4}/examples/99_docs/run_cbpm_docs.py +0 -0
  137. {julearn-0.3.3 → julearn-0.3.3.dev4}/examples/99_docs/run_confound_removal_docs.py +0 -0
  138. {julearn-0.3.3 → julearn-0.3.3.dev4}/examples/99_docs/run_cv_splitters_docs.py +0 -0
  139. {julearn-0.3.3 → julearn-0.3.3.dev4}/examples/99_docs/run_data_docs.py +0 -0
  140. {julearn-0.3.3 → julearn-0.3.3.dev4}/examples/99_docs/run_model_comparison_docs.py +0 -0
  141. {julearn-0.3.3 → julearn-0.3.3.dev4}/examples/99_docs/run_model_evaluation_docs.py +0 -0
  142. {julearn-0.3.3 → julearn-0.3.3.dev4}/examples/99_docs/run_model_inspection_docs.py +0 -0
  143. {julearn-0.3.3 → julearn-0.3.3.dev4}/examples/99_docs/run_pipeline_docs.py +0 -0
  144. {julearn-0.3.3 → julearn-0.3.3.dev4}/examples/99_docs/run_stacked_models_docs.py +0 -0
  145. {julearn-0.3.3 → julearn-0.3.3.dev4}/examples/99_docs/run_target_transformer_docs.py +0 -0
  146. {julearn-0.3.3 → julearn-0.3.3.dev4}/examples/README.rst +0 -0
  147. {julearn-0.3.3 → julearn-0.3.3.dev4}/examples/XX_disabled/dis_run_n_jobs.py +0 -0
  148. {julearn-0.3.3 → julearn-0.3.3.dev4}/examples/XX_disabled/dis_run_target_confound_removal.py +0 -0
  149. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/__init__.py +0 -0
  150. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/api.py +0 -0
  151. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/base/__init__.py +0 -0
  152. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/base/column_types.py +0 -0
  153. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/base/estimators.py +0 -0
  154. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/base/tests/test_base_estimators.py +0 -0
  155. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/base/tests/test_column_types.py +0 -0
  156. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/config.py +0 -0
  157. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/inspect/__init__.py +0 -0
  158. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/inspect/_cv.py +0 -0
  159. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/inspect/_pipeline.py +0 -0
  160. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/inspect/_preprocess.py +0 -0
  161. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/inspect/inspector.py +0 -0
  162. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/inspect/tests/test_cv.py +0 -0
  163. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/inspect/tests/test_inspector.py +0 -0
  164. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/inspect/tests/test_pipeline.py +0 -0
  165. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/inspect/tests/test_preprocess.py +0 -0
  166. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/model_selection/_skopt_searcher.py +0 -0
  167. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/model_selection/available_searchers.py +0 -0
  168. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/model_selection/continuous_stratified_kfold.py +0 -0
  169. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/model_selection/stratified_bootstrap.py +0 -0
  170. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/model_selection/tests/test_available_searchers.py +0 -0
  171. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/model_selection/tests/test_continous_stratified_kfold.py +0 -0
  172. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/model_selection/tests/test_stratified_bootstrap.py +0 -0
  173. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/models/__init__.py +0 -0
  174. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/models/available_models.py +0 -0
  175. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/models/dynamic.py +0 -0
  176. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/models/tests/test_available_models.py +0 -0
  177. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/models/tests/test_dynamic.py +0 -0
  178. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/models/tests/test_models.py +0 -0
  179. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/pipeline/__init__.py +0 -0
  180. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/pipeline/pipeline_creator.py +0 -0
  181. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/pipeline/target_pipeline.py +0 -0
  182. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/pipeline/target_pipeline_creator.py +0 -0
  183. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/pipeline/tests/test_target_pipeline.py +0 -0
  184. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/pipeline/tests/test_target_pipeline_creator.py +0 -0
  185. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/prepare.py +0 -0
  186. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/scoring/__init__.py +0 -0
  187. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/scoring/available_scorers.py +0 -0
  188. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/scoring/metrics.py +0 -0
  189. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/scoring/tests/test_available_scorers.py +0 -0
  190. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/scoring/tests/test_metrics.py +0 -0
  191. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/stats/__init__.py +0 -0
  192. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/stats/corrected_ttest.py +0 -0
  193. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/stats/tests/test_corrected_ttest.py +0 -0
  194. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/tests/test_config.py +0 -0
  195. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/tests/test_prepare.py +0 -0
  196. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/transformers/__init__.py +0 -0
  197. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/transformers/available_transformers.py +0 -0
  198. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/transformers/confound_remover.py +0 -0
  199. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/transformers/dataframe/__init__.py +0 -0
  200. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/transformers/dataframe/drop_columns.py +0 -0
  201. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/transformers/dataframe/filter_columns.py +0 -0
  202. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/transformers/dataframe/set_column_types.py +0 -0
  203. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/transformers/dataframe/tests/test_change_column_types.py +0 -0
  204. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/transformers/dataframe/tests/test_drop_columns.py +0 -0
  205. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/transformers/dataframe/tests/test_filter_columns.py +0 -0
  206. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/transformers/dataframe/tests/test_set_column_types.py +0 -0
  207. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/transformers/ju_column_transformer.py +0 -0
  208. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/transformers/target/__init__.py +0 -0
  209. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/transformers/target/available_target_transformers.py +0 -0
  210. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/transformers/target/ju_target_transformer.py +0 -0
  211. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/transformers/target/ju_transformed_target_model.py +0 -0
  212. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/transformers/target/target_confound_remover.py +0 -0
  213. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/transformers/target/tests/test_available_target_transformers.py +0 -0
  214. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/transformers/target/tests/test_ju_target_transformer.py +0 -0
  215. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/transformers/target/tests/test_ju_transformed_target_model.py +0 -0
  216. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/transformers/target/tests/test_target_confound_remover.py +0 -0
  217. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/transformers/tests/test_available_transformers.py +0 -0
  218. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/transformers/tests/test_cbpm.py +0 -0
  219. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/transformers/tests/test_confounds.py +0 -0
  220. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/utils/__init__.py +0 -0
  221. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/utils/_cv.py +0 -0
  222. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/utils/tests/test_logging.py +0 -0
  223. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/utils/tests/test_version.py +0 -0
  224. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/utils/typing.py +0 -0
  225. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/utils/versions.py +0 -0
  226. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/viz/__init__.py +0 -0
  227. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/viz/_scores.py +0 -0
  228. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn/viz/res/julearn_logo_generalization.png +0 -0
  229. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn.egg-info/dependency_links.txt +0 -0
  230. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn.egg-info/requires.txt +0 -0
  231. {julearn-0.3.3 → julearn-0.3.3.dev4}/julearn.egg-info/top_level.txt +0 -0
  232. {julearn-0.3.3 → julearn-0.3.3.dev4}/setup.cfg +0 -0
  233. {julearn-0.3.3 → julearn-0.3.3.dev4}/setup.py +0 -0
@@ -4,7 +4,7 @@ ci:
4
4
 
5
5
  repos:
6
6
  - repo: https://github.com/pre-commit/pre-commit-hooks
7
- rev: v4.6.0
7
+ rev: v4.4.0
8
8
  hooks:
9
9
  - id: check-ast
10
10
  - id: check-docstring-first
@@ -17,27 +17,27 @@ repos:
17
17
  - id: trailing-whitespace
18
18
  args: [--markdown-linebreak-ext=md]
19
19
  - repo: https://github.com/abravalheri/validate-pyproject
20
- rev: v0.17
20
+ rev: v0.12.2
21
21
  hooks:
22
22
  - id: validate-pyproject
23
- - repo: https://github.com/psf/black-pre-commit-mirror
24
- rev: 24.4.2
23
+ - repo: https://github.com/psf/black
24
+ rev: 23.3.0
25
25
  hooks:
26
26
  - id: black
27
27
  exclude: ^(docs/|examples/)
28
28
  args: [--check]
29
- - repo: https://github.com/astral-sh/ruff-pre-commit
30
- rev: v0.4.4
29
+ - repo: https://github.com/charliermarsh/ruff-pre-commit
30
+ rev: v0.0.267
31
31
  hooks:
32
32
  - id: ruff
33
33
  exclude: ^(__init__.py)
34
- args: [--output-format, grouped, --show-fixes]
34
+ args: [--format, grouped, --show-fixes]
35
35
  - repo: https://github.com/codespell-project/codespell
36
- rev: v2.2.6
36
+ rev: v2.2.4
37
37
  hooks:
38
38
  - id: codespell
39
39
  exclude: ^(.github/|docs/)
40
- args: [--toml, pyproject.toml]
40
+ args: [--config, tox.ini]
41
41
  - repo: https://github.com/pre-commit/pygrep-hooks
42
42
  rev: v1.10.0
43
43
  hooks:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: julearn
3
- Version: 0.3.3
3
+ Version: 0.3.3.dev4
4
4
  Summary: Juelich Machine Learning Library
5
5
  Author-email: Fede Raimondo <f.raimondo@fz-juelich.de>, Sami Hamdan <s.hamdan@fz-juelich.de>
6
6
  Maintainer-email: Sami Hamdan <s.hamdan@fz-juelich.de>
@@ -4,4 +4,3 @@
4
4
  .. _Shammi More: https://www.fz-juelich.de/SharedDocs/Personen/INM/INM-7/EN/More_s.html?nn=654218
5
5
  .. _Leonard Sasse: https://github.com/LeSasse
6
6
  .. _Synchon Mandal: https://github.com/synchon
7
- .. _Dante Culaciati: https://github.com/Dante-010
@@ -86,14 +86,14 @@ Indices and tables
86
86
  Indices and tables
87
87
  ==================
88
88
 
89
- If you use julearn in a scientific publication, please use the following
89
+ If you use julearn in a scientific publication, please use the following
90
90
  reference
91
91
 
92
- Hamdan, Sami, Shammi More, Leonard Sasse, Vera Komeyer,
93
- Kaustubh R. Patil, and Federico Raimondo. ‘Julearn:
94
- An Easy-to-Use Library for Leakage-Free Evaluation and Inspection of
95
- ML Models’. arXiv, 19 October 2023.
92
+ Hamdan, Sami, Shammi More, Leonard Sasse, Vera Komeyer,
93
+ Kaustubh R. Patil, and Federico Raimondo. ‘Julearn:
94
+ An Easy-to-Use Library for Leakage-Free Evaluation and Inspection of
95
+ ML Models’. arXiv, 19 October 2023.
96
96
  https://doi.org/10.48550/arXiv.2310.12568.
97
97
 
98
- Since julearn is also heavily reliant on scikit-learn, please also cite
98
+ Since julearn is also heavily reliant on scikit-learn, please also cite
99
99
  them: https://scikit-learn.org/stable/about.html#citing-scikit-learn
@@ -16,7 +16,7 @@ Cross-validation - The fundamentals
16
16
  This means that in order to evaluate if a model is *successful* in learning,
17
17
  we need to evaluate if it is able to predict new data. Thus, we need to have
18
18
  separate data for learning and testing. At the same time, data is a valuable
19
- resource in machine learning and one wants to use it as efficiently as possible.
19
+ resource in machine learning and one wants to use it as efficeint as possible.
20
20
 
21
21
  To solve this, we use *cross validation*. The core idea is that we want to
22
22
  train (also named *fit*) a model on a subset of our data and evaluate it on a
@@ -8,24 +8,6 @@ What's new
8
8
 
9
9
  .. towncrier release notes start
10
10
 
11
- Julearn 0.3.3 (2024-05-16)
12
- --------------------------
13
-
14
- Bugfixes
15
- ^^^^^^^^
16
-
17
- - Fix ``OptunaSearchCV`` issue
18
- (https://github.com/optuna/optuna-integration/issues/118) with an internal
19
- implementation until the issue is fixed in ``optuna-integration`` by `Fede
20
- Raimondo`_ (:gh:`265`)
21
-
22
-
23
- Improved Documentation
24
- ^^^^^^^^^^^^^^^^^^^^^^
25
-
26
- - Fixed a typo in cross validation by `Dante Culaciati`_ (:gh:`258`)
27
-
28
-
29
11
  Julearn 0.3.2 (2024-05-03)
30
12
  --------------------------
31
13
 
@@ -253,7 +253,7 @@ pprint(model_tuned.best_params_)
253
253
  # hyperparameters values.
254
254
  #
255
255
  # Other searchers that ``julearn`` provides are the
256
- # :class:`~sklearn.model_selection.RandomizedSearchCV`,
256
+ # :class:`~sklearn.model_selection.RandomizedSearchCV`,
257
257
  # :class:`~skopt.BayesSearchCV` and
258
258
  # :class:`~optuna_integration.sklearn.OptunaSearchCV`.
259
259
  #
@@ -383,14 +383,14 @@ pprint(model_tuned.best_params_)
383
383
  # searcher. However, the optuna searcher behaviour is controlled by a
384
384
  # :class:`~optuna.study.Study` object. This object can be passed to the
385
385
  # searcher using the ``study`` parameter in the ``search_params`` dictionary.
386
- #
386
+ #
387
387
  # .. important::
388
388
  # The optuna searcher requires that all the hyperparameters are specified
389
- # as distributions, even the categorical ones.
389
+ # as distributions, even the categorical ones.
390
390
  #
391
391
  # We first modify the pipeline creator so the ``select_k`` parameter is
392
392
  # specified as a distribution. We exemplarily use a categorical distribution
393
- # for the ``class_weight`` hyperparameter, trying the ``"balanced"`` and
393
+ # for the ``class_weight`` hyperparameter, trying the ``"balanced"`` and
394
394
  # ``None`` values.
395
395
 
396
396
  creator = PipelineCreator(problem_type="classification")
@@ -445,12 +445,12 @@ pprint(model_tuned.best_params_)
445
445
  # searcher, bayesian searcher and optuna searcher. The distributions are
446
446
  # either specified toolbox-specific method or a tuple convention with the
447
447
  # following format: ``(low, high, distribution)`` where the distribution can
448
- # be either ``"log-uniform"`` or ``"uniform"`` or
448
+ # be either ``"log-uniform"`` or ``"uniform"`` or
449
449
  # ``(a, b, c, d, ..., "categorical")`` where ``a``, ``b``, ``c``, ``d``, etc.
450
450
  # are the possible categorical values for the hyperparameter.
451
451
  #
452
- # For example, we can specify the ``C`` and ``gamma`` hyperparameters of the
453
- # :class:`~sklearn.svm.SVC` as log-uniform distributions, while keeping
452
+ # For example, we can specify the ``C`` and ``gamma`` hyperparameters of the
453
+ # :class:`~sklearn.svm.SVC` as log-uniform distributions, while keeping
454
454
  # the ``with_mean`` parameter of the
455
455
  # :class:`~sklearn.preprocessing.StandardScaler` as a categorical parameter
456
456
  # with two options.
@@ -469,7 +469,7 @@ print(creator)
469
469
  # While this will work for any of the ``random``, ``bayes`` or ``optuna``
470
470
  # searcher options, it is important to note that both ``bayes`` and ``optuna``
471
471
  # searchers accept further parameters to specify distributions. For example,
472
- # the ``bayes`` searcher distributions are defined using the
472
+ # the ``bayes`` searcher distributions are defined using the
473
473
  # :class:`~skopt.space.space.Categorical`, :class:`~skopt.space.space.Integer`
474
474
  # and :class:`~skopt.space.space.Real`.
475
475
  #
@@ -493,7 +493,7 @@ print(creator)
493
493
  #
494
494
  #
495
495
  # For example, we can define a uniform distribution from 0.5 to 0.9 with a 0.05
496
- # step for the ``n_components`` of a :class:`~sklearn.decomposition.PCA`
496
+ # step for the ``n_components`` of a :class:`~sklearn.decomposition.PCA`
497
497
  # transformer, while keeping a log-uniform distribution for the ``C`` and
498
498
  # ``gamma`` hyperparameters of the :class:`~sklearn.svm.SVC` model.
499
499
  from optuna.distributions import FloatDistribution
@@ -5,4 +5,4 @@ fpr
5
5
  master
6
6
  whis
7
7
  jupyter
8
- arange
8
+ arange
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '0.3.3'
16
- __version_tuple__ = version_tuple = (0, 3, 3)
15
+ __version__ = version = '0.3.3.dev4'
16
+ __version_tuple__ = version_tuple = (0, 3, 3, 'dev4')
@@ -286,7 +286,6 @@ def bayes_search_params(request: FixtureRequest) -> Optional[Dict]:
286
286
 
287
287
  return request.param
288
288
 
289
-
290
289
  @fixture(
291
290
  params=[
292
291
  {"kind": "optuna", "n_trials": 10, "cv": 3},
@@ -311,7 +310,6 @@ def optuna_search_params(request: FixtureRequest) -> Optional[Dict]:
311
310
 
312
311
  return request.param
313
312
 
314
-
315
313
  _tuning_params = {
316
314
  "zscore": {"with_mean": [True, False]},
317
315
  "pca": {"n_components": [0.2, 0.7]},
@@ -21,3 +21,4 @@ from ._optuna_searcher import register_optuna_searcher
21
21
 
22
22
  register_bayes_searcher()
23
23
  register_optuna_searcher()
24
+
@@ -11,8 +11,7 @@ from .available_searchers import _recreate_reset_copy, register_searcher
11
11
 
12
12
  try:
13
13
  import optuna.distributions as optd
14
-
15
- from ..external.optuna_searchcv import OptunaSearchCV
14
+ from optuna_integration.sklearn import OptunaSearchCV
16
15
  except ImportError:
17
16
  from sklearn.model_selection._search import BaseSearchCV
18
17
 
@@ -90,10 +89,8 @@ def _prepare_optuna_hyperparameters_distributions(
90
89
  )
91
90
  out[k] = optd.FloatDistribution(v[0], v[1], log=True)
92
91
  elif v[2] == "categorical":
93
- logger.info(
94
- f"Hyperparameter {k} is categorical with 2 "
95
- f"options: [{v[0]} and {v[1]}]"
96
- )
92
+ logger.info(f"Hyperparameter {k} is categorical with 2 "
93
+ f"options: [{v[0]} and {v[1]}]")
97
94
  out[k] = optd.CategoricalDistribution((v[0], v[1]))
98
95
  else:
99
96
  out[k] = v
@@ -14,7 +14,6 @@ from julearn.model_selection._optuna_searcher import (
14
14
 
15
15
  optd = pytest.importorskip("optuna.distributions")
16
16
 
17
-
18
17
  @pytest.mark.parametrize(
19
18
  "params_to_tune,expected_types, expected_dist",
20
19
  [
@@ -14,7 +14,6 @@ from julearn.model_selection._skopt_searcher import (
14
14
 
15
15
  sksp = pytest.importorskip("skopt.space")
16
16
 
17
-
18
17
  @pytest.mark.parametrize(
19
18
  "params_to_tune,expected_types, expected_dist",
20
19
  [
@@ -89,7 +89,10 @@ def merge_pipelines(
89
89
  # TODO: Fix this comparison, as it always returns False.
90
90
  for s in pipelines[1:]:
91
91
  if isinstance(s, BaseSearchCV):
92
- if s.estimator.named_steps[t_step_name] != t: # type: ignore
92
+ if (
93
+ s.estimator.named_steps[t_step_name] # type: ignore
94
+ != t
95
+ ):
93
96
  different_steps.append(t_step_name)
94
97
  break
95
98
  else:
@@ -51,14 +51,10 @@ def test_merger_pipelines() -> None:
51
51
  assert "scaler" == named_steps[1]
52
52
  assert "rf" == named_steps[2]
53
53
  assert len(merged.param_distributions) == 3 # type: ignore
54
- assert merged.param_distributions[-1][
55
- "rf__max_features"
56
- ] == [ # type: ignore
57
- 2,
58
- 3,
59
- 7,
60
- 42,
61
- ]
54
+ assert (
55
+ merged.param_distributions[-1]["rf__max_features"] # type: ignore
56
+ == [2, 3, 7, 42]
57
+ )
62
58
 
63
59
 
64
60
  def test_merger_errors() -> None:
@@ -285,12 +285,8 @@ def test_hyperparameter_tuning_optuna(
285
285
  The parameters for the search.
286
286
 
287
287
  """
288
- # TODO: Wait till https://github.com/optuna/optuna-integration/issues/118
289
- # is solved and go back to optuna_integration instead of our own
290
- # implementation
291
- # optuna_integration = pytest.importorskip("optuna_integration")
292
- # OptunaSearchCV = optuna_integration.OptunaSearchCV
293
- from julearn.external.optuna_searchcv import OptunaSearchCV
288
+ optuna_integration = pytest.importorskip("optuna_integration")
289
+ OptunaSearchCV = optuna_integration.OptunaSearchCV
294
290
 
295
291
  pipeline, param_grid = _hyperparam_tuning_base_test(
296
292
  X_types_iris,
@@ -455,8 +455,9 @@ def test_tune_hyperparam_gridsearch(df_iris: pd.DataFrame) -> None:
455
455
  )
456
456
 
457
457
  assert len(actual.columns) == len(expected) + 5 # type: ignore
458
- assert len(actual["test_accuracy"]) == len( # type: ignore
459
- expected["test_accuracy"]
458
+ assert (
459
+ len(actual["test_accuracy"]) # type: ignore
460
+ == len(expected["test_accuracy"])
460
461
  )
461
462
  assert all(
462
463
  a == b
@@ -539,8 +540,9 @@ def test_tune_hyperparam_gridsearch_groups(df_iris: pd.DataFrame) -> None:
539
540
  )
540
541
 
541
542
  assert len(actual.columns) == len(expected) + 5 # type: ignore
542
- assert len(actual["test_accuracy"]) == len( # type: ignore
543
- expected["test_accuracy"]
543
+ assert (
544
+ len(actual["test_accuracy"]) # type: ignore
545
+ == len(expected["test_accuracy"])
544
546
  )
545
547
  assert all(
546
548
  a == b
@@ -628,8 +630,9 @@ def test_tune_hyperparam_randomsearch(df_iris: pd.DataFrame) -> None:
628
630
  )
629
631
 
630
632
  assert len(actual.columns) == len(expected) + 5 # type: ignore
631
- assert len(actual["test_accuracy"]) == len( # type: ignore
632
- expected["test_accuracy"]
633
+ assert (
634
+ len(actual["test_accuracy"]) # type: ignore
635
+ == len(expected["test_accuracy"])
633
636
  )
634
637
  assert all(
635
638
  a == b
@@ -743,11 +746,13 @@ def test_tune_hyperparams_multiple_grid(df_iris: pd.DataFrame) -> None:
743
746
 
744
747
  assert len(actual1.columns) == len(expected) + 5 # type: ignore
745
748
  assert len(actual2.columns) == len(expected) + 5 # type: ignore
746
- assert len(actual1["test_accuracy"]) == len( # type: ignore
747
- expected["test_accuracy"]
749
+ assert (
750
+ len(actual1["test_accuracy"]) # type: ignore
751
+ == len(expected["test_accuracy"])
748
752
  )
749
- assert len(actual2["test_accuracy"]) == len( # type: ignore
750
- expected["test_accuracy"]
753
+ assert (
754
+ len(actual2["test_accuracy"]) # type: ignore
755
+ == len(expected["test_accuracy"])
751
756
  )
752
757
  assert all(
753
758
  a == b
@@ -284,10 +284,8 @@ class CBPM(BaseEstimator, TransformerMixin):
284
284
  cols = (
285
285
  ["positive"]
286
286
  if self.used_corr_sign_ == "pos"
287
- else (
288
- ["negative"]
289
- if self.used_corr_sign_ == "neg"
290
- else ["positive", "negative"]
291
- )
287
+ else ["negative"]
288
+ if self.used_corr_sign_ == "neg"
289
+ else ["positive", "negative"]
292
290
  )
293
291
  return np.array(cols, dtype=object)
@@ -75,9 +75,9 @@ class ChangeColumnTypes(JuTransformer):
75
75
  if "__:type:__" in col:
76
76
  name, old_type = col.split("__:type:__")
77
77
  if old_type in self.X_types_renamer:
78
- to_rename[col] = (
79
- f"{name}__:type:__{self.X_types_renamer[old_type]}"
80
- )
78
+ to_rename[
79
+ col
80
+ ] = f"{name}__:type:__{self.X_types_renamer[old_type]}"
81
81
  self._renamer = to_rename
82
82
  return self
83
83
 
@@ -156,9 +156,9 @@ def test_JuColumnTransformer_row_select():
156
156
  )
157
157
 
158
158
  mean_both = (
159
- transformer_both.fit(X)
160
- .column_transformer_.transformers_[0][1]
161
- .mean_ # type: ignore
159
+ transformer_both.fit(
160
+ X
161
+ ).column_transformer_.transformers_[0][1].mean_ # type: ignore
162
162
  )
163
163
 
164
164
  assert_almost_equal(
@@ -1,5 +1,4 @@
1
1
  """Implement various checks for the input of the functions."""
2
-
3
2
  # Author: Federico Raimondo <f.raimondo@fz-juelich.de>
4
3
  # License: BSD 3 clause
5
4
 
@@ -222,7 +222,9 @@ def raise_error(
222
222
  raise klass(msg)
223
223
 
224
224
 
225
- def warn_with_log(msg: str, category: Type[Warning] = RuntimeWarning) -> None:
225
+ def warn_with_log(
226
+ msg: str, category: Type[Warning] = RuntimeWarning
227
+ ) -> None:
226
228
  """Warn, but first log it.
227
229
 
228
230
  Parameters
@@ -185,7 +185,7 @@ def do_scoring_test(
185
185
  scorers: List[str],
186
186
  groups: Optional[str] = None,
187
187
  X_types: Optional[Dict[str, List[str]]] = None, # noqa: N803
188
- cv: Union[int, BaseCrossValidator] = 5,
188
+ cv: Union[int, BaseCrossValidator] = 5,
189
189
  sk_y: Optional[np.ndarray] = None,
190
190
  decimal: int = 5,
191
191
  ):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: julearn
3
- Version: 0.3.3
3
+ Version: 0.3.3.dev4
4
4
  Summary: Juelich Machine Learning Library
5
5
  Author-email: Fede Raimondo <f.raimondo@fz-juelich.de>, Sami Hamdan <s.hamdan@fz-juelich.de>
6
6
  Maintainer-email: Sami Hamdan <s.hamdan@fz-juelich.de>
@@ -143,7 +143,6 @@ julearn/base/column_types.py
143
143
  julearn/base/estimators.py
144
144
  julearn/base/tests/test_base_estimators.py
145
145
  julearn/base/tests/test_column_types.py
146
- julearn/external/optuna_searchcv.py
147
146
  julearn/inspect/__init__.py
148
147
  julearn/inspect/_cv.py
149
148
  julearn/inspect/_pipeline.py
@@ -95,7 +95,7 @@ line-length = 79
95
95
  target-version = ["py38", "py39", "py310", "py311"]
96
96
 
97
97
  [tool.codespell]
98
- skip = "*/auto_examples/*,*.html,.git/,*.pyc,*/_build/*,*/api/generated/*.examples,julearn/external/*"
98
+ skip = "*/auto_examples/*,*.html,.git/,*.pyc,*/_build/*,*/api/generated/*.examples"
99
99
  count = ""
100
100
  quiet-level = 3
101
101
  ignore-words = "ignore_words.txt"
@@ -104,14 +104,6 @@ builtin = "clear,rare,informal,names,usage,code"
104
104
 
105
105
  [tool.ruff]
106
106
  line-length = 79
107
- extend-exclude = [
108
- "__init__.py",
109
- "docs",
110
- "examples",
111
- "external",
112
- ]
113
-
114
- [tool.ruff.lint]
115
107
  select = [
116
108
  # flake8-bugbear
117
109
  "B",
@@ -144,6 +136,11 @@ select = [
144
136
  # flake8-2020
145
137
  "YTT",
146
138
  ]
139
+ extend-exclude = [
140
+ "__init__.py",
141
+ "docs",
142
+ "examples",
143
+ ]
147
144
  extend-ignore = [
148
145
  # Use of `functools.lru_cache` or `functools.cache` on methods can lead to
149
146
  # memory leaks. The cache may retain instance references, preventing garbage
@@ -166,7 +163,7 @@ extend-ignore = [
166
163
  "PGH003",
167
164
  ]
168
165
 
169
- [tool.ruff.lint.isort]
166
+ [tool.ruff.isort]
170
167
  lines-after-imports = 2
171
168
  known-first-party = ["julearn"]
172
169
  known-third-party =[
@@ -181,7 +178,7 @@ known-third-party =[
181
178
  "pytest",
182
179
  ]
183
180
 
184
- [tool.ruff.lint.mccabe]
181
+ [tool.ruff.mccabe]
185
182
  max-complexity = 20
186
183
 
187
184
  [tool.towncrier]
@@ -242,6 +239,5 @@ exclude = [
242
239
  ".tox",
243
240
  ".eggs",
244
241
  "examples/", # Lots of problems due to bad stubs, avoid filling the example with # type:ignore
245
- "julearn/external", # External code, not to be checked
246
242
  "scratch/", # place to prototype, not to be checked
247
243
  ]
@@ -98,7 +98,6 @@ omit =
98
98
  */tests/*
99
99
  */utils/typing.py
100
100
  */viz/*
101
- */external/*
102
101
  parallel = false
103
102
 
104
103
  [coverage:report]