Update README.md
Browse files124 unmodified lines12512612712812913013141 unmodified lines173174175176177178179124 unmodified lines### Tuning Sensitivity, Specificity, and Indeterminate FractionThis module implements a generalization of ROC curve analysis wherein ground truth is binary, but model output can be negative (score below lower threshold), positive (score above upper threshold), or indeterminate (score between thresholds). For the purpose of metric calculations such as sensitivity and specificity, examples marked indeterminate do not count towards either the numerator or denominator. The budget for fraction of examples to be marked indeterminate is configurable as shown below.```import numpy as npfrom datasets import load_dataset41 unmodified lines### Optimal Tuning for Multi-class TasksThe depression and anxiety models were each trained with ordinal regression to predict a scalar score monotonically correlated with the underlying PHQ-9 and GAD-7 questionnaire ground truth sums. As such there are efficient dynamic programming algorithms to select optimal thresholds for multi-class numeric labels under a variety of decision criteria.```from datasets import load_datasetfrom tuning.optimal_ordinal import MinAbsoluteErrorOrdinalThresholding124 unmodified lines12512612712812913013141 unmodified lines173174175176177178179124 unmodified lines### Tuning Sensitivity, Specificity, and Indeterminate FractionThis module implements a generalization of ROC curve analysis wherein ground truth is binary, but model output can be negative (score below lower threshold), positive (score above upper threshold), or indeterminate (score between thresholds). For the purpose of metric calculations such as sensitivity and specificity, examples marked indeterminate do not count towards either the numerator or denominator. The budget for fraction of examples to be marked indeterminate is configurable as shown below.```pythonimport numpy as npfrom datasets import load_dataset41 unmodified lines### Optimal Tuning for Multi-class TasksThe depression and anxiety models were each trained with ordinal regression to predict a scalar score monotonically correlated with the underlying PHQ-9 and GAD-7 questionnaire ground truth sums. As such there are efficient dynamic programming algorithms to select optimal thresholds for multi-class numeric labels under a variety of decision criteria.```pythonfrom datasets import load_datasetfrom tuning.optimal_ordinal import MinAbsoluteErrorOrdinalThresholding
README.md+2-2