dataframe option for confusion matrix