BementBuildingClassifierOutput

@available(OSX 10.14, iOS 12.0, tvOS 12.0, *)
@available(watchOS, unavailable)
class BementBuildingClassifierOutput : MLFeatureProvider

Model Prediction Output Type

  • Source provided by CoreML

    Declaration

    Swift

    private let provider: MLFeatureProvider
  • Probability of each category as dictionary of strings to doubles

    Declaration

    Swift

    lazy var classLabelProbs: [String : Double] { get set }
  • Most likely image category as string value

    Declaration

    Swift

    lazy var classLabel: String { get set }
  • Declaration

    Swift

    var featureNames: Set<String> { get }
  • Declaration

    Swift

    func featureValue(for featureName: String) -> MLFeatureValue?
  • Declaration

    Swift

    init(classLabelProbs: [String : Double], classLabel: String)
  • Declaration

    Swift

    init(features: MLFeatureProvider)