...

/

Equal-width discretization

Equal-width discretization

Equal-width discretization is the simplest form of discretization. We will learn about this technique and its formula while exploring an example of how it works, alongside some points to keep in mind when using this technique.

Equal width binning is probably the most popular way of doing discretization. This means that after the binning, all bins have equal width or represent an equal range of the original variable values, no matter how many cases are in each bin.

The following formula calculates the width of intervals:

width=maxvaluesminvaluesNwidth = \frac{max values - minvalues}{N} ...

Create a free account to access the full course.

By signing up, you agree to Educative's Terms of Service and Privacy Policy