<!--
{
  "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/UpdatableEstimator",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "Create ML Components"
    ],
    "preciseIdentifier" : "s:18CreateMLComponents18UpdatableEstimatorP"
  },
  "title" : "UpdatableEstimator"
}
-->

# UpdatableEstimator

An estimator that can be incrementally updated.

```
protocol UpdatableEstimator<Transformer> : Estimator
```

## Topics

### Adapting

[`func adaptedAsSupervised<Annotation>(annotationType: Annotation.Type) -> UpdatableEstimatorToSupervisedAdaptor<Self, Annotation>`](/documentation/CreateMLComponents/UpdatableEstimator/adaptedAsSupervised(annotationType:))

Exposes this estimator as a supervised estimator.

[`func adaptedAsTemporal() -> UpdatableEstimatorToTemporalAdaptor<Self>`](/documentation/CreateMLComponents/UpdatableEstimator/adaptedAsTemporal())

Exposes this estimator as a temporal estimator.

### Appending

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

Composes this updatable estimator with another updatable estimator.

### Encoding and decoding

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

Encodes the transformer and optimizer to an encoder.

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

Reads the encoded transformer and optimizer with a decoder.

### Transforming

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

Creates a default-initialized transformer suitable for incremental fitting.

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

Updates a transformer with a new sequence of examples.

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

## Relationships

### Conforming Types

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

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

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

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

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

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

### Inherits From

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

---

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)