Child pages
  • R2-GenOpt* (8.0)



Data Import | Discretization and Aggregation Wizard

Learning | Discretization

R2-GenOpt is a univariate discretization algorithm that we introduced in version 6.0. This algorithm uses a genetic algorithm to find a discretization that maximizes the R2 between the discretized variable and its corresponding continuous (hidden) variable. Therefore, it is the the optimal approach for finding an accurate representation of the continuous values of a variable.

New Feature: R2-GenOpt*

As of version 8.0, BayesiaLab offers an extended version of R2-GenOpt that uses a specific MDL score to choose the number of bins.


With 100 observations, even though we selected 8 bins, only 3 have been created.

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