Before executing the project, please add all folders and subfolders to the MATLAB path, and then execute the corresponding files.
- For Image1 (
chromo.txt), the main function file isProject1.min folderProject1. - For Image2 (
hello_world.jpg), the main function file isProject2.min folderProject2.
KNN, SOM, and SVM methods are implemented in image classification, and the source code is placed in the folder Project2/classification.
The dataset is in the folder Project2/classification/p_dataset_26.
The main code of SVM Classifier for execution is :
classification_svm.mThe main code of kNN Classifier for execution is :
classification_knn.mThe main code of SOM Classifier for execution is :
classification_som.m