I\'m trying to calculate confusion matrix on my logistic regression model but getting an error Error: data and reference should be factors with the sam
data
reference