STUDY ON THE INFLUENCE OF PCA PRE-TREATMENT ON PIG FACE IDENTIFICATION WITH KNN
To explore the application of traditional machine learning model in the intelligent management of pigs, in this paper, the influence of the PCA pre-treatment on pig face identification with KNN is studied. With testing method, individual identification test was carried out on 10 different pigs in two testing schemes, in which one adopted KNN alone and the other adopted PCA + KNN, for which the classifier parameter was taken as 3 and 5, respectively. In the optimized scheme, the operating efficiency got significantly increased, also the training time and testing time were reduced to 4.8% and 7% of the original value in the KNN alone scheme, though the accuracy got lowered to a certain extent. With all these factors taken into consideration, PCA pre-treatment is beneficial to individual pig identification with KNN. It can provide experimental support for mobile terminals and embedded application of KNN classifiers.
Abstract in Romanian