<div>Scikit-learn recently supported discretization(KBinsDiscretizer, see discrete branch) and we need an example to illustrate the usage of it. I have proposed a draft in https://github.com/scikit-learn/scikit-learn/issues/9339:</div><div>(1)use the iris dataset (only use two features)</div><div>(2)plot the data before and after discretization</div><div>(3)train a classifier using the data before and after discretization and compare the result from cross validation<br></div><div> Since I'm not an expert of machine learning, I'm wondering whether it is a good example. Could someone from the community provide some ideas or suggestions? Thanks a lot.<br></div>