Contents

count(predicted:label:)

Returns the number of times a predicted, true label pair appeared in the label collections.

Declaration

func count(predicted: Label, label: Label) -> Int

Parameters

  • predicted:

    The predicted label.

  • label:

    The true label.

See Also

Computing and scoring