ositives and false negatives are computed globally.
- macro: True positivies, false positives and
- false negatives are computed for each class and their unweighted mean is returned.
- weighted: Metrics are computed for each class and returns the mean weighted by the number of
true instances in each class.</p></td>
    </tr>
    <tr>
      <th>threshold</th>
      <td><p>Elements of y_pred above threshold are considered to be 1, and the rest 0.
If threshold is NULL, the argmax is converted to 1, and the res