skada icon indicating copy to clipboard operation
skada copied to clipboard

Domain adaptation toolbox compatible with scikit-learn and pytorch

Results 61 skada issues
Sort by recently updated
recently updated
newest added

Changed metrics.py to add a new parameter 'criterion' within 'loss_function' with default as 'cross_entropy_loss' and can switch to 'BCELoss'

The function to create deep DA models should have a parameter `criterion` or `base_criterion` or `source_criterion`. For now, it is hardcoded as a cross-entropy loss but if the model has...

enhancement
good first issue
deep

Error raised: `TypeError: Singleton array array(None, dtype=object) cannot be considered a valid collection.` To reproduce: ``` from sklearn.linear_model import LogisticRegression from sklearn.model_selection import ShuffleSplit, cross_validate from skada import make_da_pipeline, MMDTarSReweightAdapter...

bug

By using `SelectTarget`, the estimator only sees the target samples/labels/domains. However to compute the `CircularValidation` we need to train the estimator on the source THEN the target samples. Thus `ValueError:...

bug

While this feature makes no sens for fitting, it can be very practical for multi-source/target for instance it would allow to sometging like ```python pipe = make_da_pipeline( PerDomain(StandardScaler()), SelectSource(SVC()), )...

enhancement
domain-aware api

![skada_logo_full](https://github.com/scikit-adaptation/skada/assets/66993815/c811f28f-45d2-49ff-a1fe-a2269fd0591b) Hi, I played a bit with the logo. Let me know what you think about it. Maybe I will still change a bit the colors

Right now both are excluded from processing in `ruff.toml`.

infrastructure

This is required for us to understand how the API "feels" when working with multi-source multi-target settings. It's also crucial for properly covering the functionality of selectors (note that as...

domain-aware api
high complexity

We need to provide way better example of the deep methods. For each methods we should provide a training example (which is already done) and then an explanation of what...

documentation
deep

Deep methods do not currently support `device='gpu'`. It should break at several locations when we define a new tensor or a `domain_classifier` for the adversarial methods. This issue should not...

bug
enhancement
deep