Harmonia: Journal of Arts Research and Education (Jul 2022)

Modelling Naïve Bayes for Tembang Macapat Classification

  • Aji Prasetya Wibawa,
  • Yana Ningtyas,
  • Nimas Hadi Atmaja,
  • Ilham Ari Elbaith Zaeni,
  • Agung Bella Putra Utama,
  • Felix Andika Dwiyanto,
  • Andrew Nafalski

DOI
https://doi.org/10.15294/harmonia.v22i1.34776
Journal volume & issue
Vol. 22, no. 1
pp. 28 – 36

Abstract

Read online

The tembang macapat can be classified using its cultural concepts of guru lagu, guru wilangan, and guru gatra. People may face difficulties recognizing certain songs based on the established rules. This study aims to build classification models of tembang macapat using a simple yet powerful Naïve Bayes classifier. The Naive Bayes can generate high-accuracy values from sparse data. This study modifies the concept of Guru Lagu by retrieving the last vowel of each line. At the same time, guru wilangan’s guidelines are amended by counting the number of all characters (Model 2) rather than calculating the number of syllables (Model 1). The data source is serat wulangreh with 11 types of tembang macapat, namely maskumambang, mijil, sinom, durma, asmaradana, kinanthi, pucung, gambuh, pangkur, dandhanggula, and megatruh. The k-fold cross-validation is used to evaluate the performance of 88 data. The result shows that the proposed Model 1 performs better than Model 2 in macapat classification. This promising method opens the potential of using a data mining classification engine as cultural teaching and preservation media.

Keywords