O'Reilly logo
  • Som DUBEY thinks this is interesting:

print classification_report(y_test,y_pred_flag)

From

Cover of Mastering Python for Data Science

Note

from skelarn.metrics import calssification_report