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

[ON_HOLD] Geodesic Flow Kernel #141

Open antoinecollas opened 4 months ago

antoinecollas commented 4 months ago

This PR is a WIP implementation of Geodesic Flow Kernel.

This method requires the Generalized SVD, and it is not implemented either in numpy or Scipy. The transferlearning library uses bob.math.gsvd here, which has its custom C++ code here.

codecov[bot] commented 4 months ago

Codecov Report

Merging #141 (3767224) into main (35a3897) will increase coverage by 0.00%. The diff coverage is 97.95%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #141 +/- ## ======================================= Coverage 97.62% 97.63% ======================================= Files 47 47 Lines 3924 3973 +49 ======================================= + Hits 3831 3879 +48 - Misses 93 94 +1 ```
tgnassou commented 6 days ago

@antoinecollas Do you think you can implement gsvd as you want? Or we cannot implement this method?

antoinecollas commented 6 days ago

No, I tried but the gsvd of the paper is hard to implement in python right now.