TeX source:
\text{accuracy} = \frac{\text{number of correct predictions}}{\text{total number of predictions}}.