Contents

applied(to:eventHandler:)

Performs a prediction from a single input.

Declaration

func applied(to input: MLShapedArray<Scalar>, eventHandler: EventHandler? = nil) async throws -> Double

Parameters

  • input:

    The input feature.

  • eventHandler:

    An event handler.

Return Value

A regression result.