add(_:)
Updates the metrics with more predicted and ground truth label pairs.
Declaration
mutating func add(_ pairs: some Sequence<(predicted: Label, label: Label)>)Parameters
- pairs:
A collection of predicted and true label pairs.
Updates the metrics with more predicted and ground truth label pairs.
mutating func add(_ pairs: some Sequence<(predicted: Label, label: Label)>)A collection of predicted and true label pairs.