Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

accuracy_score function #1269

Open
rsrenner opened this issue Nov 11, 2022 · 0 comments
Open

accuracy_score function #1269

rsrenner opened this issue Nov 11, 2022 · 0 comments

Comments

@rsrenner
Copy link

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.

meloncruuush pushed a commit to meloncruuush/aima-python that referenced this issue Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant