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] Add predict_proba to DA_SVM #158

Closed YanisLalou closed 3 months ago

YanisLalou commented 3 months ago

A lot of skada scorers need the estimator to have the predict_proba method. So here we implement it depending on if the base_estimator has it or not.

codecov[bot] commented 3 months ago

Codecov Report

Merging #158 (36cab8f) into main (2200a63) will increase coverage by 0.01%. The diff coverage is 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #158 +/- ## ========================================== + Coverage 97.62% 97.63% +0.01% ========================================== Files 48 48 Lines 4298 4317 +19 ========================================== + Hits 4196 4215 +19 Misses 102 102 ```