Pattern Recognition methods, including:
- Bayes, Linear, Quadratic Classifier
- Sequential Tests
- Clustering (Kmeans and Square Error)
Additionally, not-MNIST model for Serbian Vowels is implemented.
Some of the classification results are shown below. Various classifiers are implemented, including Linear, Bayes and Quadratic.
Bayes Classifier | Quadratic Classifier |
Wald sequential test is capable of classifying examples, even if the classes are totally non-separable, as shown below.
PDFs for two classes | Wald classification illustrated |
The result of Kmeans clustering method is shown below. Additionally, you can find and plot stats for the number of steps the method in average needs to converge.
Kmeans result | Stats for Kmeans |
Serbian language has 5 vowels, which are shown below:
A | E | I | O | U |
---|---|---|---|---|
Classification model is implemented in Keras, using dataset of 600 images.
To run any test simply go to the directory above 'source' and type the following command in your terminal.
python -m source.test.test_script
Test script can be any from the directory 'test':
test_bayes
- To test Bayes Classifiertest_wald
- To test Wald Sequential Testtest_linear
- To test Linear Classifiertest_quadratic
- To test Quadratic Classifiertest_kmeans
- To test Kmeans Clusteringtest_square_clustering
- To test Square Error Clustering