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

use train/test split, use mlp.predit() for confusion matrix. #56

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

qualiaMachine
Copy link
Collaborator

We already use sklearn's train/test split function a few times prior to this episode, so I swapped the manual split with train_test_split().

Confusion matrix section: I used mlp.predict() to generate all predictions at once, rather than using a for-loop and appending one prediction at a time. I also skipped right to the ConfusionMatrixDisplay function rather than doing that as an exercise.

@colinsauze colinsauze merged commit 670f907 into gh-pages Dec 13, 2024
3 checks passed
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

Successfully merging this pull request may close these issues.

2 participants