updatePrecisionRecallCurves(_:)
Updates the per-label precision-recall curve using the input data.
Declaration
mutating func updatePrecisionRecallCurves(_ input: some Collection<AnnotatedFeature<MLShapedArray<Scalar>, Set<Label>>>) async throwsParameters
- input:
A collection of annotated examples.
Discussion
Call this method before exporting to a Core ML Model and using Vision VNCoreMLRequest to make predictions.