Analysis of Opinion Classification on Marriage Based on Support Vector Machine and Multi-Layer Perceptron

Nur Isma, Lutfiah Tri Syahyaningsih, Dewi Fatmarani Surianto, Nur Fadilah

Abstract


Marriage is an important aspect of social life that is influenced by cultural changes and public opinion, especially in the digital age. Public opinion on marriage is now widely disseminated through social media, both from traditional and modern perspectives. This study aims to classify public opinions on marriage using the Support Vector Machine (SVM) and Multi-Layer Perceptron (MLP) algorithms. The data used consists of 1,003 comments collected from social media. The study was conducted using two different approaches: stemming and data augmentation, which involves increasing the training data by modifying the original data to improve model performance. The results show that in the first approach, SVM achieved an accuracy of 77%, while MLP improved from 75% to 76% without stemming. In the second approach, data augmentation without stemming provided a significant improvement in accuracy, with SVM reaching 93% and MLP reaching 96%. Wordcloud visualization also highlights the importance of removing stopwords to reduce noise in the data. These findings indicate that data augmentation is an effective strategy for improving the performance of opinion classification models. This research contributes to the field of social sentiment analysis using machine learning approaches and is expected to serve as a reference for formulating policies aimed at improving marriage quality and family stability in Indonesia.


Keywords


Marriage, Public Opinion; Multi-Layer Perceptron (MLP); Support Vector Machine (SVM); Sentiment Classification

Full Text:

PDF

References


A. S. Malisi, “Pernikahan Dalam Islam,” SEIKAT: Jurnal Ilmu Sosial, Politik dan Hukum, vol. 1, no. 1, pp. 22–28, oct. 2022, doi: 10.55681/seikat.v1i1.97.

A. Ar’bah Lailany and S. Lestari, “Analisis Sentimen Publik Terhadap Penurunan Jumlah Pernikahan di Indonesia menggunakan Algoritma K-Nearest Neighbors (KNN),” vol. 5, no. 2, pp.3043-3053, Jul. 2024, doi: 10.35870/jimik.v5i3.1000.

M. A. S. Putra, I. Permana, M. Mustakim, and M. Afdal, “Analisis Sentimen Masyarakat Mengenai Gerakan Childfree di Media Sosial X Menggunakan Algoritma NBC dan SVM,” MALCOM: Indonesian Journal of Machine Learning and Computer Science, vol. 4, no. 4, pp. 1189–1198, Jul. 2024, doi: 10.57152/malcom.v4i4.1356.

A. Nurviana and W. Hendriani, “Makna Pernikahan pada Generasi Milenial yang Menunda Pernikahan dan Memutuskan untuk Tidak Menikah,” Buletin Riset Psikologi dan Kesehatan Mental (BRPKM), vol. 1, no. 2, pp. 1037–1045, Jul. 2021, doi: 10.20473/brpkm.v1i2.27995.

A. Ar’bah Lailany and S. Lestari, “Analisis Sentimen Publik Terhadap Penurunan Jumlah Pernikahan di Indonesia menggunakan Algoritma K-Nearest Neighbors (KNN),” vol. 5, no. 2, pp.3043-3053, Jul. 2024, doi: 10.35870/jimik.v5i3.1000.

Muhamad Syahrial, “Jumlah Perceraian di Indonesia Tahun 2023 Capai 463.654 Kasus ,” https://bandung.kompas.com/read/2024/05/16/110741878/jumlah-perceraian-di-indonesia-tahun-2023-capai-463654-kasus#google_vignette. Kompas. [Diakses: 22 Mei 2025]

lin4pr, “Lonjakan 35%: Kasus Perceraian di Pengadilan Agama Cikarang Alami Peningkatan Drastis,”. https://www.pa-cikarang.go.id/article-pengadilan/615-kunjungan-dan-pembinaan-ketua-pta-bandung-3 . Pengadilan Agama Cikaran g[Diakses: 22 Mei 2025].

W. Azwar, R. Arnaidi, R. Andrini,, A. Fahrullah and K. Nasution “Latar Belakang Lahirnya Undang-Undang Perkawinan Indonesia Nomor 1 Tahun 1974 (Uup),” Hukum Islam, vol. 21, no. 1, pp. 133-151, Jan. 2022, doi: 10.24014/jhi.v21i1.11616.

Erizal and F. N. Hasan, “Analisis Sentimen Masyarakat Terhadap Fenomena Childfree (Kehidupan Tanpa Anak) Pada Twitter Menggunakan Algoritma Naïve Bayes,” JOSH: Journal of Information System Research (JOSH), vol. 5, no. 3, pp. 853–861, Apr. 2024, doi: 10.47065/josh.v5i3.5064.

A. A. Lailany and S. Lestari, “Analisis Sentimen Publik Terhadap Penurunan Jumlah Pernikahan di Indonesia menggunakan Algoritma K-Nearest,” vol. 5, no. 3, pp. 3043–3053, Sep. 2024, doi: 10.35870/jimik.v5i3.1000

Ade Dwi Dayani, Yuhandri, and G. Widi Nurcahyo, “Analisis Sentimen Terhadap Opini Publik pada Sosial Media Twitter Menggunakan Metode Support Vector Machine,” Jurnal KomtekInfo, vol. 11, pp. 1–10, Mar. 2024, doi: 10.35134/komtekinfo.v11i1.439.

U. Para, F. Hariadi, and A. C. Talakua, “Sentimen Analisis Tradisi Kawin Tangkap Di Daerah Sumba Menggunakan Metode SVM,” Jurnal Minfo Polgan, vol. 12, no. 1, pp. 84–95, pp. 84-95, Mar. 2023, doi: 10.33395/jmp.v12i1.12320.

M. Kurmasih, N. Rahaningsih, R. D. Dana, and N. D. Nuris, “Analisis Sentimen Terhadap Opini Patriarki Menggunakan Metode Naïve Bayes,” JATI (Jurnal Mahasiswa Teknik Informatika), vol. 8, no. 1, pp. 3095-3100, Feb. 2024. doi: /10.36040/jati.v8i3.8798.

A. Syahrandi, A. J. Latipah, and N. A. Verdikha, “Multilayer Perceptron and TF-IDF in the Classification of Hate Speech on Twitter in Indonesian,” JSE Journal of Science and Engineering, vol. 1, no. 1, pp. 17–22, Sep. 2023, doi: 10.30650/jse.v1i1.3773.

S. Fadillah, W. Witanti, and E. Ramadhan, “Analisis Sentimen Terhadap Ulasan Restoran Menggunakan Metode Multi Layer Perceptron,” Aug. 2024. https://www.kaggle.com/code/apekshakom/sentiment-analysis-of-restaurant-reviews/input.

I. Hamdi, E. Budianita, F. Syafria, and I. Afrianty, “Prediksi Jumlah Perceraian Menggunakan Metode Multilayer Perceptron,” JURNAL MEDIA INFORMATIKA BUDIDARMA, vol. 7, no. 3, p. 1352-1361, Jul. 2023, doi: 10.30865/mib.v7i3.6291.

D. Hindarto, “A Comparative Study of Sentiment Classification: Traditional Nlp Vs. Neural Network Approaches,”, JTIULM, vol. 8, no. 2, pp 40- 60. Oct. 2023. doi: 10.20527/jtiulm.v8i2.178

D. Deltania, Garno, and A. Jamaluddin, “Analisis Sentimen Publik Terhadap Invasi Zonis Kepada Hamas Menggunakan Support Vector Machine (SVM),” (JATI) Jurnal Mahasiswa Teknik Informatika, vol. 8, no. 4, pp. 4465-4472, Aug. 2024, doi: 10.36040/jati.v8i4.9959.

I. Risma Huriah, A. I. S. Widianingrun, Azlina, and Taslim, “Optimasi Augmentasi Data Berbasis Synonym Replacement pada Klasifikasi Teks Berita Menggunakan Neural Network,” vol. 14, no. 1, pp. 2715–7849, Apr. 2025, doi: 10.34010/komputa.v14i1.

I. Hidayat, A. I. Tolago, R. D. R. Doko, and J. Ilham, “Analisis Data Eksploratif Capaian Indikator Kinerja Utama 3 Fakultas Teknik,” Jambura Journal of Electrical and Electronics Engineering, vol. 5, no. 2, pp. 185–191, Jun. 2023, doi: 10.37905/jjeee.v5i2.18397

T. N. Wijaya, R. Indriati, and M. N. Muzaki, “Analisis Sentimen Opini Publik Tentang Undang-undang Cipta Kerja Pada Twitter,” Jambura Journal of Electrical and Electronics Engineering, vol. 3, no. 2, pp. 78–83, Jun. 2021, doi: 10.37905/jjeee.v3i2.10885

H. Makmur, W. Wulandari, D. F. Surianto, and M. Fajar B, “Analisis Sentimen Penghapusan Skripsi sebagai Tugas Akhir Mahasiswa Menggunakan Metode Multi-Layer Perceptron,” Komputika : Jurnal Sistem Komputer, vol. 13, no. 2, pp. 213-221, Oct. 2024, doi: 10.34010/komputika.v13i2.12402.

I. Akbar, and M. Faisal, “Perbandingan Analisis Sentimen PLN Mobile: Machine Learning vs. Deep Learning,” (JOINTECS) Journal of Information Tecnology and Computer Science, vol. 8, no. 1, pp. 1-10, Mei. 2024, doi: 10.31328/jointecs.v8i1.5078.

D. Hindarto, “A Comparative Study Of Sentiment Classification: Traditional Nlp Vs. Neural Network Approaches.” JTIULM, vol. 8, no. 8, pp. 49-60. Oct. 2023, doi: 10.20527/jtiulm.v8i2.178.

R. Sulaehani and Bahrin, “Klasifikasi Tingkat Kepuasan Masyarakat Program RTP2S Menggunakan Metode SVM Berbasis Backward Elimination,” Jambura Journal of Electrical and Electronics Engineering, vol. 5, no. 1, pp. 115-121. Jan. 2023, doi: 10.37905/jjeee.v5i1.17204.

I. S. K. Idris, Y. A. Mustofa, and I. A. Salih, “Analisis Sentimen Terhadap Penggunaan Aplikasi Shopee Menggunakan Algoritma Support Vector Machine (SVM),” Jambura Journal of Electrical and Electronics Engineering, vol. 5, no. 6, pp. 32–35, Jan. 2023, doi: 10.1177/0165551510388123.

Z. Y. Lamasigi, “DCT Untuk Ekstraksi Fitur Berbasis GLCM Pada Identifikasi Batik Menggunakan K-NN,” Jambura Journal of Electrical and Electronics Engineering, vol. 3, pp. 1-6, Jan. 2021, doi: 10.37905/jjeee.v3i1.7113.

I. Abri Oktariansyah, F. Rakhmat Umbara, and F. Kasyidi, “Klasifikasi Sentimen Untuk Mengetahui Kecenderungan Politik Pengguna X Pada Calon Presiden Indonesia 2024 Menggunakan Metode IndoBert,” Technology and Science (BITS), vol. 6, no. 2, pp. 636-648, Sep. 2024, doi: 10.47065/bits.v6i2.5435.

R. Ulgasesa, A. B. P. Negara, and T. Tursina, “Pengaruh Stemming Terhadap Performa Klasifikasi Sentimen Masyarakat Tentang Kebijakan New Normal,” Jurnal Sistem dan Teknologi Informasi (JustIN), vol. 10, no. 3, pp. 286-293, Sep. 2022, doi: 10.26418/justin.v10i3.53880.

F. Rahat, M. S. Hossain, M. R. Ahmed, S. K. Jha, and R. Ewetz, “Data Augmentation for Image Classification using Generative AI,” Aug. 2024, http://arxiv.org/abs/2409.00547.




DOI: https://doi.org/10.37905/jjeee.v8i1.29616

Refbacks

  • There are currently no refbacks.


Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Published by:
Electrical Engineering Department
Faculty of Engineering
State University of Gorontalo
Jalan B.J.Habibie Desa Moutong Kecamatan Tilongkabila Kabupaten Bone Bolango
Telp. 0435-821175; 081340032063
Email: [email protected]/[email protected]

Creative Commons License

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.