open_in_new
content_copy
from sklearn.metrics import confusion_matrix print confusion_matrix(rets, pred_rets)