<!--
{
  "availability" : [
    "iOS: 16.0.0 - 18.0.0",
    "iPadOS: 16.0.0 - 18.0.0",
    "macCatalyst: 16.0.0 - 18.0.0",
    "macOS: 13.0.0 - 15.0.0",
    "tvOS: 16.0.0 - 18.0.0",
    "visionOS: 1.0.0 - 2.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "CreateMLComponents",
  "identifier" : "/documentation/CreateMLComponents/UpdatableSupervisedTemporalEstimator",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "Create ML Components"
    ],
    "preciseIdentifier" : "s:18CreateMLComponents36UpdatableSupervisedTemporalEstimatorP"
  },
  "title" : "UpdatableSupervisedTemporalEstimator"
}
-->

# UpdatableSupervisedTemporalEstimator

A supervised temporal estimator that can be incrementally updated.

```
protocol UpdatableSupervisedTemporalEstimator<Transformer, Annotation> : SupervisedTemporalEstimator
```

## Topics

### Appending

[`func appending(_:)`](/documentation/CreateMLComponents/UpdatableSupervisedTemporalEstimator/appending(_:))

Composes this updatable supervised temporal estimator with another updatable supervised temporal estimator.

### Encoding and decoding

[`func encodeWithOptimizer(Self.Transformer, to: inout any EstimatorEncoder) throws`](/documentation/CreateMLComponents/UpdatableSupervisedTemporalEstimator/encodeWithOptimizer(_:to:))

Encodes the transformer and optimizer to an encoder.

[`func decodeWithOptimizer(from: inout any EstimatorDecoder) throws -> Self.Transformer`](/documentation/CreateMLComponents/UpdatableSupervisedTemporalEstimator/decodeWithOptimizer(from:))

Reads the encoded transformer and optimizer with a decoder.

### Reading and writing

[`func readWithOptimizer(from: URL) throws -> Self.Transformer`](/documentation/CreateMLComponents/UpdatableSupervisedTemporalEstimator/readWithOptimizer(from:))

Reads the encoded transformer and optimizer from a file.

[`func writeWithOptimizer(Self.Transformer, to: URL, overwrite: Bool) throws`](/documentation/CreateMLComponents/UpdatableSupervisedTemporalEstimator/writeWithOptimizer(_:to:overwrite:))

Writes the encoded transformer and optimizer to a file.

### Transforming

[`func makeTransformer() -> Self.Transformer`](/documentation/CreateMLComponents/UpdatableSupervisedTemporalEstimator/makeTransformer())

Creates a default-initialized transformer suitable for incremental fitting.

[`func update<InputSequence, FeatureSequence>(inout Self.Transformer, with: InputSequence, eventHandler: EventHandler?) async throws`](/documentation/CreateMLComponents/UpdatableSupervisedTemporalEstimator/update(_:with:eventHandler:))

Updates a transformer with a new sequence of examples.

[`func update<InputSequence, FeatureSequence>(inout Self.Transformer, with: InputSequence) async throws`](/documentation/CreateMLComponents/UpdatableSupervisedTemporalEstimator/update(_:with:))

## Relationships

### Conforming Types

[`UpdatableSupervisedEstimatorToTemporalAdaptor`](/documentation/CreateMLComponents/UpdatableSupervisedEstimatorToTemporalAdaptor)

[`UpdatableTemporalEstimatorToSupervisedAdaptor`](/documentation/CreateMLComponents/UpdatableTemporalEstimatorToSupervisedAdaptor)

[`PreprocessingUpdatableSupervisedTemporalEstimator`](/documentation/CreateMLComponents/PreprocessingUpdatableSupervisedTemporalEstimator)

### Inherits From

[`SupervisedTemporalEstimator`](/documentation/CreateMLComponents/SupervisedTemporalEstimator)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)