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

Support mlp classifier #33

Merged
merged 6 commits into from
May 16, 2024
Merged

Conversation

santi1234567
Copy link
Contributor

Description

Added support for utilizing an Multi-Layer Perceptron classifier (MLP). The knn_classifier module is now called classifier and supports both algorithms with the optional classifier_type parameter on the class. There is also the new --classifier-type flag in the classifier.py script.

The MLP classifier has proven to achieve at least 3% more accuracy over the KNN one with most configurations tested by us. The only downside is that it takes more time to be trained.

@michaelsproul
Copy link
Member

Looks good in terms of structure and everything @santi1234567! Once CI is passing I'm happy to merge

@michaelsproul michaelsproul merged commit 34b8cab into sigp:main May 16, 2024
1 check 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