scikit-adaptation / skada

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

Allow for scalar sample_domain #262

Open rflamary opened 1 week ago

rflamary commented 1 week ago

It would be very practical to allow for scalar value for instance when trying to visualize decision foinctions

ypred = clf.predict(X,sample_domain=1)

should assume that all samples in X come from domain 1.

apmellot commented 1 week ago

I think it is the same issue as in #143