Skip to Content

R2-GenOpt*

Context

R2-GenOpt* is one of the Automatic Discretization algorithms for Continuous variables in Step 4 — Discretization and Aggregation of the Data Import Wizard. R2-GenOpt* is a modified version of R2-GenOpt and uses a specific MDL score to choose the number of bins.

Algorithm details & recommendations

With 100 observations, even though we selected 8 bins, only 3 were created for the variable 8− Wrist girth\mathit{8-\ Wrist\ girth}.

R2-GenOpt discretization with 100 observations (3 bins created)

With 1,500 observations, even though we selected 10 bins, only 5 have been created for AGN\mathit{AGN}, and 6 for ALL\mathit{ALL}.

R2-GenOpt discretization with 1,500 observations (5 bins created)