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 #2

Open
nelzaatari opened this issue Jan 22, 2022 · 0 comments
Open

accuracy score #2

nelzaatari opened this issue Jan 22, 2022 · 0 comments

Comments

@nelzaatari
Copy link

good day prof,

in the notebook
https://github.com/iubh/DLMDSML01/blob/main/Q_A_Sessions/01_intro_to_ml/01_intro_to_ml.ipynb

the accuracy score

acc_nn1.append(metrics.accuracy_score(yhat_nn1 , y_test))

must be

acc_nn1.append(metrics.accuracy_score(y_test , yhat_nn1))

becuause according to the documentation in sklean https://scikit-learn.org/stable/modules/generated/sklearn.metrics.accuracy_score.html

first parameter is y_true,second parameter y_pred

or maybe there is something that i'm confused about

moreover, should we average the the accuracy results of each classifier ?

thank you prof,

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