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

# UpdatableSupervisedEstimator

A supervised estimator that can be incrementally updated.

```
protocol UpdatableSupervisedEstimator<Transformer, Annotation> : SupervisedEstimator
```

## Topics

### Appending

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

Composes this updatable estimator with an updatable estimator.

### Adapting

[`func adaptedAsTemporal() -> UpdatableSupervisedEstimatorToTemporalAdaptor<Self>`](/documentation/CreateMLComponents/UpdatableSupervisedEstimator/adaptedAsTemporal())

Exposes this supervised estimator as a temporal supervised estimator.

### Encoding and decoding

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

Encodes the transformer and optimizer to an encoder.

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

Reads the encoded transformer and optimizer with a decoder.

### Reading and writing

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

Reads the encoded transformer and optimizer from a file.

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

Writes the encoded transformer and optimizer to a file.

### Transforming

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

Creates a default-initialized transformer suitable for incremental fitting.

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

Updates a transformer with a new sequence of examples.

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

## Relationships

### Conforming Types

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

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

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

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

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

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

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

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

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

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

### Inherits From

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

---

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)