Typological Analysis of Sultanate Tombs in Sumatra Using K-Means and Random Forest Clustering Methods
Keywords:
Islamic Tombs, K-Means Clustering, Morphometric Analysis, Random Forest, Typology of TombsAbstract
The diversity of the morphological characteristics of Islamic tombs from the Sultanates in Sumatra reflects variations in cultural traditions, construction techniques, and architectural forms. However, the identification of tomb typologies is still dominated by manual observation; therefore, the classification process is relatively subjective. This study aimed to identify the typology of tombs from the Sultanates in Sumatra using the K-Means Clustering algorithm and to determine the most influential classification variables using the Random Forest algorithm. This study analyzed 85 tomb records consisting of four morphometric variables (tombstone height, length, width, and height) and several archaeological attributes. The Elbow method was used to determine the optimal number of clusters, resulting in three clusters with distinct morphometric characteristics. The evaluation of the clustering quality resulted in an average silhouette coefficient of 0.267, indicating a fairly good clustering structure. Furthermore, the Random Forest model achieved an accuracy of 68.75% with a kappa value of 0.521, indicating moderate classification performance. Variable importance analysis revealed that grave material, footstone shape, and tombstone shape were the most influential variables for distinguishing tomb typologies. These findings indicate that the combination of K-Means Clustering and Random Forest provides an effective and objective approach to identifying archaeological tomb typologies based on morphometric and physical attributes.
References
R. M. Feener et al., “Islamisation and the Formation of Vernacular Muslim Material Culture in 15th-Century Northern Sumatra,” Indonesia and the Malay World, vol. 49, no. 143, pp. 1–41, 2021, doi: 10.1080/13639811.2021.1873564.
A. Tri and S. Najah, “Transformation of the Archipelago: The Journey of Islam and its Legacy in Indonesian Culture,” Jurnal Pendidikan Sejarah, vol. 14, no. 1, 2025.
P. Basundoro and A. S. Nugroho, “The Role of Eastern Java in the Global Spice Trade Network during the Ancient Period to the 17th Century,” Kasetsart Journal of Social Sciences, vol. 45, no. 2, pp. 661–670, 2024, doi: 10.34044/j.kjss.2024.45.2.33.
E. Lambourn, “Tombstones, Texts, and Typologies: Seeing Sources for the Early History of Islam in Southeast Asia,” Journal of the Economic and Social History of the Orient, vol. 51, no. 2, pp. 252–286, 2008, doi: 10.1163/156852008X307447.
I. Pratama Nasution, “The Royal Mosques in Indonesia from 16th to Early 20th Centuries as a Power Representation,” International Journal of Heritage Architecture: Studies, Repairs and Maintenance, vol. 1, no. 3, pp. 494–502, 2017, doi: 10.2495/ha-v1-n3-494-502.
T. A. Nengsih et al., “Clustering Analysis of Kutai Sultanate Tombs: Exploring Design Preference, Symbolism, and Social Hierarchy in East Kalimantan, Indonesia,” Asian Journal of Interdisciplinary Research, vol. 9, no. 1, pp. 47–63, 2026, doi: 10.54392/ajir2614.
E. Kulicka, “Remarks on the Typology of Islamic Graves from the Cemeteries on Kom el-Dikka in Alexandria, Egypt,” n.d.
S. Tentang, B. Nisan, K. Rantang, and B. Suprayitno, Islamisasi di Sumatera Utara, vol. 1, 2012.
I. Saptaningrum, M. N. I. Azis, H. Anwar, P. Pristiwanto, and S. Djakaria, “An Analysis of Islamic Gravestones in Indonesia: Sites and Islamic Heritage in Bolaang Mongondow, North Sulawesi,” Journal of Islamic Architecture, vol. 8, no. 4, pp. 1158–1173, 2025, doi: 10.18860/jia.v8i4.26318.
M. Bellat et al., “Machine Learning Applications in Archaeological Practices: A Review,” Journal of Computer Applications in Archaeology, vol. 8, no. 1, pp. 282–321, 2025, doi: 10.5334/jcaa.201.
S. H. Bickler, “Machine Learning Arrives in Archaeology,” Advances in Archaeological Practice, vol. 9, no. 2, pp. 186–191, 2021, doi: 10.1017/aap.2021.6.
M. Ahmed, R. Seraj, and S. M. S. Islam, “The k-means Algorithm: A Comprehensive Survey and Performance Evaluation,” Electronics, vol. 9, no. 8, pp. 1–12, 2020, doi: 10.3390/electronics9081295.
T. M. Kodinariya and P. R. Makwana, “Review on Determining Number of Cluster in K-Means Clustering,” International Journal of Advance Research in Computer Science and Management Studies, vol. 1, no. 6, 2013. [Online]. Available: www.ijarcsms.com
L. Breiman, “Random Forests,” vol. 45, 2001.
Webster and Sheets, 2010. [Incomplete reference data in the source file; to be completed by the author.]
C. Wongoutong, “The Impact of Neglecting Feature Scaling in k-means Clustering,” PLoS ONE, vol. 19, no. 12, 2024, doi: 10.1371/journal.pone.0310839.
K. P. Sinaga and M.-S. Yang, “Unsupervised K-means Clustering Algorithm,” IEEE Access, vol. 8, pp. 80716–80727, 2020, doi: 10.1109/ACCESS.2020.2988796.
B. N. Yulisasih, H. Herman, S. Sunardi, and H. Yuliansyah, “Evaluation of K-Means Clustering Using Silhouette Score Method on Customer Segmentation,” ILKOM Jurnal Ilmiah, vol. 16, no. 3, pp. 330–342, 2024, doi: 10.33096/ilkom.v16i3.2325.330-342.
P. J. Rousseeuw, “Silhouettes: A Graphical Aid to the Interpretation and Validation of Cluster Analysis,” Journal of Computational and Applied Mathematics, vol. 20, 1987.
H. I. Fawaz, G. Forestier, J. Weber, L. Idoumghar, and P.-A. Muller, “Deep Learning for Time Series Classification: A Review,” 2019, doi: 10.1007/s10618-019-00619-1.
F. Cappelli, G. Castronuovo, S. Grimaldi, and V. Telesca, “Random Forest and Feature Importance Measures for Discriminating the Most Influential Environmental Factors in Predicting Cardiovascular and Respiratory Diseases,” International Journal of Environmental Research and Public Health, vol. 21, no. 7, 2024, doi: 10.3390/ijerph21070867.
Y. Nam and S. Han, “Random Forest Variable Importance-based Selection Algorithm in Class Imbalance Problem,” arXiv preprint arXiv:2312.10573, 2023. [Online]. Available: http://arxiv.org/abs/2312.10573
A. Agarwal, A. M. Kenney, Y. S. Tan, T. M. Tang, and B. Yu, “Integrating Random Forests and Generalized Linear Models for Improved Accuracy and Interpretability,” arXiv preprint arXiv:2307.01932, 2025. [Online]. Available: http://arxiv.org/abs/2307.01932
T. M. Lange, M. Gültas, A. O. Schmitt, and F. Heinrich, “optRF: Optimising Random Forest Stability by Determining the Optimal Number of Trees,” BMC Bioinformatics, vol. 26, no. 1, 2025, doi: 10.1186/s12859-025-06097-1.
A. Tharwat, “Classification Assessment Methods,” Applied Computing and Informatics, vol. 17, no. 1, pp. 168–192, 2018, doi: 10.1016/j.aci.2018.08.003.
M. Sokolova and G. Lapalme, “A Systematic Analysis of Performance Measures for Classification Tasks,” Information Processing & Management, vol. 45, no. 4, pp. 427–437, 2009, doi: 10.1016/j.ipm.2009.03.002.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Titin Agustin Nengsih, Sastia Nabila, Amir Husni, Wahyu Rizki Andhifani, Imam Arifa'illah Syaiful Huda, Benny Agusti Putra

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Authors who publish articles in Jurnal PTIPD: Penelitian Terapan Informatika dan Pengembangan Data agree to the following terms:
- Authors retain copyright of the article and grant the journal right of first publication with the work simultaneously licensed under a CC-BY-SA or The Creative Commons Attribution–ShareAlike License.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).



