TealConverseOutput

@available(macOS 10.13, iOS 11.0, tvOS 11.0, watchOS 4.0, *)
class TealConverseOutput : MLFeatureProvider

Model Prediction Output Type

  • action as string value

    Declaration

    Swift

    lazy var action: String { get set }
  • actionProbability as dictionary of strings to doubles

    Declaration

    Swift

    lazy var actionProbability: [String : Double] { get set }
  • Declaration

    Swift

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

    Swift

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

    Swift

    init(action: String, actionProbability: [String : Double])
  • Declaration

    Swift

    init(features: MLFeatureProvider)