ResultCategory
class ResultCategory : NSObjectCategory is a util class that contains a label, its display name, a float value as score, and the index of the label in the corresponding label file. Typically it’s used as the result of classification tasks.
- 
                  
                  The index of the label in the corresponding label file. Set to -1 if the index is not set. DeclarationSwift var index: Int { get }
- 
                  
                  Confidence score for this class. DeclarationSwift var score: Float { get }
- 
                  
                  The label of this category object. DeclarationSwift var categoryName: String? { get }
- 
                  
                  The display name of the label, which may be translated for different locales. For example, a label, “apple”, may be translated into Spanish for display purpose, so that the display name is “manzana”. DeclarationSwift var displayName: String? { get }
- 
                  
                  Initializes a new ResultCategorywith the given index, score, category name and display name.DeclarationSwift init(index: Int, score: Float, categoryName: String?, displayName: String?)ParametersindexThe index of the label in the corresponding label file. scoreThe probability score of this label category. categoryNameThe label of this category object. displayNameThe display name of the label. Return ValueAn instance of ResultCategoryinitialized with the given index, score, category name and display name.
- 
                  
                  Undocumented 
- 
                  
                  Undocumented