[MRG] Modified the confusion matrix example

cm = cm.asfloat() / cm.sum(axis=1)