The y and y_hat vectors are 1d array instead of the typical column vector
Examples
If applicable, add examples to help explain your problem.
y_hat = np.array(['norminet', 'dog', 'norminet', 'norminet', 'dog', 'bird'])
y = np.array(['dog', 'dog', 'norminet', 'norminet', 'dog', 'norminet'])
Screenshots

Fixed on: