## Step.to_state()


Serialize this step's fields to a diffable, JSON-safe `dict`.


Usage

``` python
Step.to_state()
```


Every hyperparameter and learned statistic already lives as a plain instance attribute, so the default encodes `self.__dict__` through the shared value codec - no per-step boilerplate. The step class itself is recorded separately (by qualified name) by [to_dict](to_dict.md#mlfeatures.to_dict).
