scikit-adaptation / skada

Domain adaptation toolbox compatible with scikit-learn and pytorch
https://scikit-adaptation.github.io/
BSD 3-Clause "New" or "Revised" License
54 stars 16 forks source link

[MRG] Fix tests random seed and TarS #131

Closed antoinecollas closed 4 months ago

antoinecollas commented 4 months ago

This PR fixes the numpy random seed in every tests. It also fixes the TarS method when only a subset of classes are present in the target domain.

codecov[bot] commented 4 months ago

Codecov Report

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

Project coverage is 92.08%. Comparing base (c81c289) to head (d7498db).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #131 +/- ## ========================================== + Coverage 92.02% 92.08% +0.05% ========================================== Files 43 43 Lines 3500 3511 +11 ========================================== + Hits 3221 3233 +12 + Misses 279 278 -1 ```

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