---
title: StandardScaler.Transformer
framework: createmlcomponents
role: symbol
role_heading: Structure
path: createmlcomponents/standardscaler/transformer
---

# StandardScaler.Transformer

A transformer that standardizes the input by removing the mean and scaling to unit variance.

## Declaration

```swift
struct Transformer
```

## Topics

### Creating a transformer

- [init(mean:standardDeviation:)](createmlcomponents/standardscaler/transformer/init(mean:standarddeviation:).md)

### Getting the properties

- [mean](createmlcomponents/standardscaler/transformer/mean.md)
- [standardDeviation](createmlcomponents/standardscaler/transformer/standarddeviation.md)

### Performing the transformation

- [applied(to:eventHandler:)](createmlcomponents/standardscaler/transformer/applied(to:eventhandler:).md)

## Relationships

### Conforms To

- [Copyable](swift/copyable.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [Transformer](createmlcomponents/transformer.md)
