Contents

init(_:)

Creates classification metrics for a sequence of predicted and ground truth label pairs.

Declaration

init(_ pairs: some Sequence<(predicted: Label, label: Label)>)

Parameters

  • pairs:

    A sequence of predicted and true label pairs.

See Also

Creating the distribution