Skip to content

Conversation

@lionelkusch
Copy link
Collaborator

This PR is based on 381 and 361 ;

I merge Cluster Inference and Ensemble Cluster Inference because there was the same function only with bootstrapping.
For the moment, only Desparsified Lasso is possible for variable of importance but this can be extend at some point if it's necessary.

@lionelkusch lionelkusch added the API 2 Refactoring following the second version of API label Sep 9, 2025
lionelkusch and others added 26 commits October 24, 2025 17:31
* fix ci

* fix condition for ci

* add comment
* remove the generation of example in parallel

* remove option memory

[skip tests]

* add the tack of memory

* fix issue of memory load from example fmri

* fix example

* remove error modification

* fix codespell

* fix number of jobs

* fix example

* remove parallization of short example

* [skip tests]

* update examples

* remove modification

[skip tests]

* improve plot fmri
@lionelkusch
Copy link
Collaborator Author

The example plot_2D_simulation_example.py and plot_fmri_data_example.py need to be fixed because the result is not the result expected for EnCluDL.

The function declaration for the class of EnsembleClusteredInference needs to be added.

@codecov
Copy link

codecov bot commented Oct 31, 2025

Codecov Report

❌ Patch coverage is 95.00000% with 16 lines in your changes missing coverage. Please review.
✅ Project coverage is 98.30%. Comparing base (4d78620) to head (0d4b68c).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/hidimstat/ensemble_clustered_inference.py 86.60% 15 Missing ⚠️
src/hidimstat/desparsified_lasso.py 99.49% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #388      +/-   ##
==========================================
- Coverage   99.29%   98.30%   -1.00%     
==========================================
  Files          24       22       -2     
  Lines        1277     1357      +80     
==========================================
+ Hits         1268     1334      +66     
- Misses          9       23      +14     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

API 2 Refactoring following the second version of API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants