scikit-adaptation / skada

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

Multidomain source target split and merge #96

Open YanisLalou opened 5 months ago

YanisLalou commented 5 months ago

Add the ability to have:

kachayev commented 5 months ago

It sounds like a functionality of DomainAwareDataset, right?

rflamary commented 5 months ago

Not totally, if you have access to X,y,sample_domain but want to plot individual domains (or estimate their) or the reverse sucjh functions make sens but now that I see it probably it is better to have domain_mergeand domain_splitfunction that can also return/take a list of domain numbers corresponding to the arrays in the lists. For the moment we have no multidomain functiosn but it will be necessary to have such helpers inside the classes also (going back to DomainAwareDataset and doing a list of pack is not friendly for this )