Contents

update(_:with:eventHandler:)

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

Declaration

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

Parameters

  • transformer:

    A fully connected network regressor model to update.

  • input:

    A sequence of examples.

  • eventHandler:

    An event handler.