Contents

update(_:with:eventHandler:)

Updates a fully connected network classifier model with a new sequence of examples.

Declaration

func update<InputSequence>(_ transformer: inout FullyConnectedNetworkClassifierModel<Scalar, Label>, with input: InputSequence, eventHandler: EventHandler? = nil) async throws where InputSequence : Sequence, InputSequence.Element == AnnotatedFeature<MLShapedArray<Scalar>, Label>

Parameters

  • transformer:

    A fully connected network classifier model to update.

  • input:

    A sequence of examples.

  • eventHandler:

    An event handler.