Contents

topLabels(_:)

Computes the most likely labels in the classification set.

Declaration

func topLabels(_ amount: Int) -> [Label]

Parameters

  • amount:

    The number of top labels.

Return Value

The labels with the highest probabilities.

See Also

Labeling and mapping