from sklearn.metrics import accuracy_score
print("Accuracy of the model: {0}%".format(accuracy_score(y_test, y_pred)*100))
NameError Traceback (most recent call last)
Input In [1], in <cell line: 2>()
1 from sklearn.metrics import accuracy_score
----> 2 print("Accuracy of the model: {0}%".format(accuracy_score(y_test, y_pred)*100))
NameError: name 'y_test' is not defined