sissa-data-science / DADApy

Distance-based Analysis of DAta-manifolds in python
https://dadapy.readthedocs.io/
Apache License 2.0
99 stars 16 forks source link

fix feature_selection unittest #118

Closed FelixWodaczek closed 4 months ago

FelixWodaczek commented 4 months ago

Proposed changes

in tests/test_feature_weighting/test_selection.py test_optimise_imbalance(): Unittest would occasionally crash with some random seeds.

Fix by:

Types of changes

What types of changes does your code introduce? Put an x in the boxes that apply

Checklist

Put an x in the boxes that apply.

codecov-commenter commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 81.07%. Comparing base (3f50a9e) to head (3db990c).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #118 +/- ## ======================================= Coverage 81.07% 81.07% ======================================= Files 17 17 Lines 3006 3006 ======================================= Hits 2437 2437 Misses 569 569 ```

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

AldoGl commented 4 months ago

Thanks @FelixWodaczek for the quick fix!