error_rate.Rd
Error rate of a binary classifier
error_rate(y, y_hat)
A numeric vector with binary entries, the true outcomes.
A numeric vector with binary entries, the predicted outcomes.
Numeric scalar, the error rate.