A spam filter is graded on two numbers. Precision: of the emails it flagged, the share that really are spam. Recall: of all the spam, the share it flagged. Write filter_score(precision, recall): one number for how good the filter is, from 0 (useless) to 1 (perfect).
| precision | recall |
|---|---|
| 0.9 | 0.6 |