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.
Description
Added support for utilizing an Multi-Layer Perceptron classifier (MLP). The
knn_classifier
module is now calledclassifier
and supports both algorithms with the optionalclassifier_type
parameter on the class. There is also the new--classifier-type
flag in theclassifier.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.