You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The accuracy_score function in learning4e.py could benefit from replacing the input argument to np.mean to be (y_pred==y_true). This is because np.equal does not seem to support string element comparisons.
The text was updated successfully, but these errors were encountered:
meloncruuush
pushed a commit
to meloncruuush/aima-python
that referenced
this issue
Jun 7, 2023
The accuracy_score function in learning4e.py could benefit from replacing the input argument to np.mean to be (y_pred==y_true). This is because np.equal does not seem to support string element comparisons.
The text was updated successfully, but these errors were encountered: