of precision and recall.
Output range is [0, 1]. Works for both multi-class
and multi-label classification. F-1 = 2 * (precision * recall) / (precision + recall)</p>
    <h2 class="hasAnchor" id="raises"><a class="anchor" href="#raises"></a>Raises</h2>

    

<p>ValueError: If the `average` has values other than [NULL, micro, macro, weighted].</p>

    <h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2>
    <pre class="examples"><div class='input'>
<span class='kw'>if</s