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

RMDS (Relative Mahalanobis Distance), a new OOD detector #89

Merged
merged 10 commits into from
Apr 22, 2024
Merged

Conversation

jdalch
Copy link
Contributor

@jdalch jdalch commented Apr 18, 2024

"A Simple Fix to Mahalanobis Distance for Improving Near-OOD Detection"
link

This method provides a small change to the Mahalanobis score by fitting an additional gaussian to the whole dataset.

Remarks:

  • An input perturbation is applied in the same way as in Mahalanobis score

Copy link

github-actions bot commented Apr 18, 2024

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
2238 2072 93% 70% 🟢

New Files

File Coverage Status
oodeel/methods/rmds.py 97% 🟢
TOTAL 97% 🟢

Modified Files

File Coverage Status
oodeel/methods/init.py 100% 🟢
TOTAL 100% 🟢

updated for commit: 3cb6de7 by action🐍

Copy link
Member

@paulnovello paulnovello left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@cofri cofri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work!
I've only raised some typos and pointless suggestions

.gitignore Outdated Show resolved Hide resolved
oodeel/methods/rmds.py Outdated Show resolved Hide resolved
oodeel/methods/rmds.py Outdated Show resolved Hide resolved
oodeel/methods/rmds.py Outdated Show resolved Hide resolved
oodeel/methods/rmds.py Outdated Show resolved Hide resolved
@cofri cofri merged commit e3784c3 into master Apr 22, 2024
10 checks passed
@cofri cofri deleted the rmds branch April 22, 2024 13:58
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.

3 participants