AI engineering glossary · Feature engineering data prep

What is equal-width binning?

Equal-width binning: Discretising a numeric feature into bins that all span the same range of values, computed as (max - min) / number of bins. It is simple, but skewed data leave some bins crowded and others nearly empty.

Level: beginnerTopic: Feature engineering data prep

Equal-width binning: an example

Salaries from 0 to 10,00,000 in 5 bins give bands of Rs 2,00,000 each, though most people fall into the first band.

Related terms

More Feature engineering data prep terms

Where you learn it

Equal-width binning is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.