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 Specificity #106

Closed
FlorianMF opened this issue Mar 18, 2021 · 2 comments · Fixed by #210
Closed

Add Specificity #106

FlorianMF opened this issue Mar 18, 2021 · 2 comments · Fixed by #210
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed New metric
Milestone

Comments

@FlorianMF
Copy link

FlorianMF commented Mar 18, 2021

🚀 Feature

In addition to Precision and Recall it would be nice to have a Specificity metric.

For the implementation I think it would be enough to make a copy of Recall (class und function) and adapt numerator and denominator in _precision_compute.

Alternatives

For binary classification Specificity is the same as Recall with 0 as true label.
For multiclass classification this is not as easy as this though.

@FlorianMF FlorianMF added enhancement New feature or request help wanted Extra attention is needed labels Mar 18, 2021
@Borda Borda added New metric good first issue Good for newcomers labels Mar 24, 2021
@Borda Borda added this to the 0.3 milestone Mar 25, 2021
@Borda Borda modified the milestones: v0.3, v0.4 Apr 19, 2021
@arv-77
Copy link
Contributor

arv-77 commented Apr 22, 2021

@Borda , can I take up this issue?

@arv-77
Copy link
Contributor

arv-77 commented Apr 24, 2021

@Borda , for the test cases, since there is no specificity metric in sklearn, the randomized test cases cannot be used. Should I just write some test cases with fixed values?

@arv-77 arv-77 mentioned this issue Apr 28, 2021
4 tasks
@Borda Borda closed this as completed in #210 May 3, 2021
@Borda Borda changed the title [New Metric] Specificity Add Specificity Jan 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed New metric
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants