ManagedMLModel

@objc(FritzManagedMLModel)
public final class ManagedMLModel : MLModel
  • Model to use for predictions

    Declaration

    Swift

    public private(set) var model: MLModel
  • Initialize model with an model type

    Declaration

    Swift

    @objc(initWithIdentifiedModel:)
    public init(identifiedModel: BaseIdentifiedModel)
  • Proxy model description

    Declaration

    Swift

    public override var modelDescription: MLModelDescription { get }
  • Override prediction method and pass input/output to analytics

    Declaration

    Swift

    public override func prediction(from input: MLFeatureProvider) throws -> MLFeatureProvider
  • Override prediction method and pass input/output to analytics

    Declaration

    Swift

    public override func prediction(from input: MLFeatureProvider, options: MLPredictionOptions) throws -> MLFeatureProvider