Skip to content

Glossary: ML Beyond the Basics

Stateful, stateless step

Also written: stateful, stateless

A stateless step applies a fixed rule and learns nothing, like filling gaps with 400. A stateful step learns something in `fit` (such as medians) and uses it in `transform`.

Where the book teaches it

Related terms

FunctionTransformerCustom transformerGroupMedianImputer