Como obter a precisão percentual de um modelo em Python
from sklearn.metrics import confusion_matrix
confusion_matrix(labels_train, pred)
Wicked Wombat
from sklearn.metrics import confusion_matrix
confusion_matrix(labels_train, pred)