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

sklearn.metrics.accuracy_score gt和pred写反的问题 #2

Open
QianLingjun opened this issue Aug 24, 2022 · 1 comment
Open

sklearn.metrics.accuracy_score gt和pred写反的问题 #2

QianLingjun opened this issue Aug 24, 2022 · 1 comment

Comments

@QianLingjun
Copy link

官方:sklearn.metrics.accuracy_score(y_true, y_pred, *, normalize=True, sample_weight=None)
本文:acc = metrics.accuracy_score(predicts, gts)
请问这里predicts,和gts,是不是写反了?

@hczyni
Copy link

hczyni commented Dec 29, 2023

官方:sklearn.metrics.accuracy_score(y_true, y_pred, *, normalize=True, sample_weight=None) 本文:acc = metrics.accuracy_score(predicts, gts) 请问这里predicts,和gts,是不是写反了?

我也感觉这里写反了

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

2 participants