Zero : Jurnal Sains, Matematika, dan Terapan
Vol 10, No 2 (2026): Zero: Jurnal Sains Matematika dan Terapan

Fractal Dimension and K-Nearest Neighbor Analysis for Turtle Species Classification Based on Carapace Pattern Complexity

Nadya Nafis Kartosen (Department of Mathematics, Universitas Negeri Surabaya, Surabaya, 60231, Indonesia)
Dwi Juniati (Department of Mathematics, Universitas Negeri Surabaya, Surabaya, 60231, Indonesia)



Article Info

Publish Date
20 Oct 2026

Abstract

Accurate turtle species identification supports biodiversity monitoring and conservation. This study classified seven turtle species using box-counting fractal dimension a single scalar numerical feature and K-Nearest Neighbor (K-NN) based on carapace pattern complexity. A dataset of 140 dorsal carapace images (20 per species) was compiled from iNaturalist Research Grade observations via random sampling with rejection-based screening against predefined inclusion criteria. Images were preprocessed (crop, resize, Gaussian smoothing, grayscale, Otsu thresholding, Canny edge detection) prior to fractal-dimension extraction. Stratified 3-, 5-, 7-, and 10-fold cross-validation was repeated over ten fixed random seeds. The best-performing observed configuration (10-fold, K = 3) achieved 87.14% ± 0.48% accuracy and 86.75% pooled macro-F1. A dataset-matched GLCM baseline achieved 61.14% ± 1.76% accuracy under the same setting, with a highly significant paired difference (paired t-test, p < 0.001; Wilcoxon signed-rank, p = 0.001953).

Copyrights © 2026