Classifier

public struct Classifier : Codable, Equatable

Information about a classifier.

  • Training status of classifier.

    See more

    Declaration

    Swift

    public enum Status : String
  • ID of a classifier identified in the image.

    Declaration

    Swift

    public var classifierID: String
  • Name of the classifier.

    Declaration

    Swift

    public var name: String
  • Unique ID of the account who owns the classifier. Might not be returned by some requests.

    Declaration

    Swift

    public var owner: String?
  • Training status of classifier.

    Declaration

    Swift

    public var status: String?
  • Whether the classifier can be downloaded as a Core ML model after the training status is ready.

    Declaration

    Swift

    public var coreMLEnabled: Bool?
  • If classifier training has failed, this field might explain why.

    Declaration

    Swift

    public var explanation: String?
  • Date and time in Coordinated Universal Time (UTC) that the classifier was created.

    Declaration

    Swift

    public var created: Date?
  • Classes that define a classifier.

    Declaration

    Swift

    public var classes: [Class]?
  • Date and time in Coordinated Universal Time (UTC) that the classifier was updated. Might not be returned by some requests. Identical to updated and retained for backward compatibility.

    Declaration

    Swift

    public var retrained: Date?
  • Date and time in Coordinated Universal Time (UTC) that the classifier was most recently updated. The field matches either retrained or created. Might not be returned by some requests.

    Declaration

    Swift

    public var updated: Date?