---
title: NumericImputer
framework: createmlcomponents
role: symbol
role_heading: Structure
path: createmlcomponents/numericimputer
---

# NumericImputer

An estimator that replaces missing values in the numeric input.

## Declaration

```swift
struct NumericImputer<Element> where Element : BinaryFloatingPoint, Element : Decodable, Element : Encodable
```

## Topics

### Creating an estimator

- [init(_:)](createmlcomponents/numericimputer/init(_:).md)
- [init(constant:)](createmlcomponents/numericimputer/init(constant:).md)

### Getting the properties

- [strategy](createmlcomponents/numericimputer/strategy-swift.property.md)

### Fitting

- [fitted(to:eventHandler:)](createmlcomponents/numericimputer/fitted(to:eventhandler:).md)
- [Transformer](createmlcomponents/transformer.md)
- [NumericImputer.Strategy](createmlcomponents/numericimputer/strategy-swift.enum.md)

### Default Implementations

- [UpdatableEstimator Implementations](createmlcomponents/numericimputer/updatableestimator-implementations.md)

## Relationships

### Conforms To

- [Copyable](swift/copyable.md)
- [Escapable](swift/escapable.md)
- [Estimator](createmlcomponents/estimator.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [UpdatableEstimator](createmlcomponents/updatableestimator.md)

## See Also

### Preprocessors

- [LinearTransformer](createmlcomponents/lineartransformer.md)
- [ImputeTransformer](createmlcomponents/imputetransformer.md)
- [OneHotEncoder](createmlcomponents/onehotencoder.md)
- [OrdinalEncoder](createmlcomponents/ordinalencoder.md)
- [Reshaper](createmlcomponents/reshaper.md)
- [CategoricalImputer](createmlcomponents/categoricalimputer.md)
- [OptionalUnwrapper](createmlcomponents/optionalunwrapper.md)
