Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

Add Recall at Precision Thresholds to Config #792

Closed
wants to merge 1 commit into from
Closed

Add Recall at Precision Thresholds to Config #792

wants to merge 1 commit into from

Conversation

yichern
Copy link

@yichern yichern commented Jul 17, 2019

Summary:
Currently, recall at precision thresholds are fixed at the defaults of 0.2, 0.4, 0.6, 0.8, 0.9. Some use cases are concerned with R@P95 or other thresholds, so it would be more convenient to have these thresholds specifiable in the config of PyText flow runs.

Adds recall_at_precision_thresholds to ClassificationMetricReporter (and MultiLabelClassificationMetricReporter) as a list of floats.

Differential Revision: D16346078

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Jul 17, 2019
Summary:
Pull Request resolved: #792

Currently, recall at precision thresholds are fixed at the defaults of 0.2, 0.4, 0.6, 0.8, 0.9. Some use cases are concerned with R@P95 or other thresholds, so it would be more convenient to have these thresholds specifiable in the config of PyText flow runs.

Adds recall_at_precision_thresholds to ClassificationMetricReporter (and MultiLabelClassificationMetricReporter) as a list of floats.

Differential Revision: D16346078

fbshipit-source-id: 7dd53c5facd7de13daf8bd96ec62f10473e29fc5
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 3e9a496.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed Do not delete this pull request or issue due to inactivity. Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants