Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MMD covariate shift detector #237

Merged
merged 6 commits into from
May 23, 2023
Merged

Add MMD covariate shift detector #237

merged 6 commits into from
May 23, 2023

Conversation

lballes
Copy link
Contributor

@lballes lballes commented May 22, 2023

  • Shift detectors reside in renate.shift
  • Add base class for shift detectors, including functionality for feature extraction
  • Add MMD covariate shift detector as first method

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@lballes lballes requested a review from 610v4nn1 May 22, 2023 09:45
@github-actions
Copy link

github-actions bot commented May 22, 2023

Coverage report

The coverage rate went from 85.68% to 85.72% ⬆️

96.07% of new lines are covered.

Diff Coverage details (click to unfold)

src/renate/shift/detector.py

89.74% of new lines are covered (89.74% of the complete file).
Missing lines: 39, 43, 109, 112

src/renate/shift/kernels.py

100% of new lines are covered (100% of the complete file).

src/renate/shift/mmd_detectors.py

100% of new lines are covered (100% of the complete file).

src/renate/shift/mmd_helpers.py

100% of new lines are covered (100% of the complete file).

src/renate/shift/detector.py Outdated Show resolved Hide resolved
src/renate/shift/mmd_detectors.py Show resolved Hide resolved
src/renate/shift/mmd_helpers.py Outdated Show resolved Hide resolved
src/renate/shift/mmd_helpers.py Show resolved Hide resolved
test/renate/shift/test_detector.py Show resolved Hide resolved
test/renate/shift/test_mmd_helpers.py Show resolved Hide resolved
src/renate/shift/mmd_detectors.py Show resolved Hide resolved
@lballes lballes requested a review from 610v4nn1 May 22, 2023 13:10
@610v4nn1 610v4nn1 merged commit b83550a into dev May 23, 2023
18 checks passed
@610v4nn1 610v4nn1 deleted the lballes-mmd-covshift branch May 23, 2023 09:54
lballes added a commit that referenced this pull request May 24, 2023
lballes added a commit that referenced this pull request May 24, 2023
* Add NLP Components to Benchmarking (#213)

* Robust Integration Tests (#214)

* Update Renate Config Example (#226)

* Make Wild Time Available in Benchmarking (#187)

* Fix `target_column` bug in `HuggingFaceTextDataModule` (#233)

* Add MMD covariate shift detector (#237)

* Add KS covariate shift detector (#242)

* Update dependabot.yml (#248)

* Update versions of some requirements (#247)

* Add doc page and example for shift detection (#244)

* Bump version (#252)

---------

Co-authored-by: Lukas Balles <lukas.balles@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants