Natural Language Processing · 免费预览
软最大回归与评估指标
对各类别未归一化得分的软最大化、多类别交叉熵、带有精确率、召回率与 F 值的混淆矩阵、交叉验证,以及配对自助法检验。
1. Softmax Regression and Evaluation Metrics
Softmax Regression and Evaluation Metrics
2. Precision, recall, and their combination
Precision, recall, and their combination
3. Softmax, metrics, and a bootstrap test
Softmax, metrics, and a bootstrap test
4. Softmax of three logits
Compute the softmax weight for the largest logit when , that is , and round to three decimals.
5. Precision for one class
For the class of interest, a classifier records true positives and false positives. Compute precision and round to three decimals.
6. The harmonic mean in F1
A class achieves precision and recall . Compute and round to three decimals.
7. Macro or micro?
A three-class triage system handles a rare storm class with 17 test items and a routine class with 100. Performance on the rare class matters as much as on the frequent one. Which averaging scheme fits, and what does the alternative do?
8. The paired bootstrap threshold
On a paired test set, system A beats system B by accuracy. The paired bootstrap resamples the test set and compares each resampled difference against a threshold that corrects for the bias the resamples inherit from the observed data. A resample counts toward the p-value when . What is ? Answer as a decimal.