Python: how to normalize a confusion matrix?,C / C.astype(np.float).sum(axis=1)