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

Curva de erro #8

Closed
roscibely opened this issue Sep 15, 2022 · 0 comments · Fixed by #7
Closed

Curva de erro #8

roscibely opened this issue Sep 15, 2022 · 0 comments · Fixed by #7
Assignees
Labels
bug Something isn't working
Milestone

Comments

@roscibely
Copy link
Member

A curva de erro plotada está plotando dados do dataset mnist_data e não dos dados que estamos trabalhando (parkinsion)

x_test, y = mnist_data()
x_test, y = shuffle_arrays_unison(arrays=[x_test, y], random_seed=123)
X_train, X_test = x_test[:4000], x_test[4000:]
y_train, y_test = y[:4000], y[4000:]

clf = KNeighborsClassifier(n_neighbors=7)

plot_learning_curves(X_train, y_train, X_test, y_test, clf)
plt.show()
@roscibely roscibely added the bug Something isn't working label Sep 15, 2022
@roscibely roscibely linked a pull request Sep 15, 2022 that will close this issue
@roscibely roscibely pinned this issue Sep 15, 2022
@roscibely roscibely added this to the Error curve milestone Sep 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants