ClassifierResultItem
public struct ClassifierResultItem: Equatable
An individual result row in a ClassifierResults instance, for a single activity type.
-
The activity type name for the result.
Declaration
Swift
public let name: ActivityTypeName -
The match probability score for the result, in the range of 0.0 to 1.0 (0% match to 100% match).
Declaration
Swift
public let score: Double -
Result items are considered equal if they have matching
namevalues.Declaration
Swift
public static func ==(lhs: ClassifierResultItem, rhs: ClassifierResultItem) -> Bool
View on GitHub
ClassifierResultItem Structure Reference