Melola Discovery

← Melola Discovery

Jurnal

Mendeteksi Unsur Depresi pada Unggahan Media Sosial Menggunakan Metode Machine Learning dengan Optimasi Berbasis Inspirasi Alam

ESTIMASI: Journal of Statistics and Its Application · Vol. 6 No. 2 (2025) · pp. 128–143

DOI
10.20956/ejsa.v6i2.45516
ISSN
2721-379X, 2721-3803
Published
2025-08-04
Publisher
Hasanuddin University
Language
en

Abstract

Social media has now become an inseparable part of everyday life, including in expressing emotions and mental states. One popular platform is X (formerly Twitter), where many users indirectly share signs of depression. This study develops a classification model to detect indications of depression in social media posts, using machine learning algorithms and feature selection techniques based on nature-inspired algorithms. The classification algorithms used include Naïve Bayes, k-Nearest Neighbors (k-NN), Decision Tree, Random Forest, and XGBoost. Each algorithm is combined with feature selection techniques using Particle Swarm Optimization (PSO), Bat Algorithm (BA), and Flamingo Search Algorithm (FSA). The models are evaluated based on accuracy, precision, recall, F1-score, and the number of features used. The results show that the combination of the Random Forest method with FSA-based feature selection (RF-FSA) delivers the best performance, with an accuracy of 82.2%, balanced precision and recall, and efficient feature usage. Another strong alternative is XGBoost with FSA (XGB-FSA), although it requires more features and longer computational time. This study demonstrates that selecting the right feature selection algorithm, particularly FSA, can significantly improve both the accuracy and efficiency of depression text classification models. The resulting model is expected to serve as a useful tool for early detection of depression symptoms from social media posts, allowing for quicker and more targeted interventions.

Keywords

Collaboration network of the authors

40 authors · 119 co-authorship links · 4 across different organisations · showing the 40 most connected

Hover or tap a name to highlight its co-authors. Double-click to open the author's page.

  • IPB University
  • Bandung Islamic University
  • Binus University
  • Universitas Halu Oleo
  • Affiliation unknown
  • Different organisations
  • Same organisation
  • Affiliation unknown
  • Thicker line = more joint articles · bigger circle = more articles
Show as table
Co-authorOrganisationJoint articles
Kusman SadikAffiliation unknown5
Muhammad Nur AidiAffiliation unknown4
Khairil Anwar NotodiputroBandung Islamic University3
I Made SumertajayaAffiliation unknown3
Indahwati IndahwatiAffiliation unknown3
Anwar FitriantoAffiliation unknown2
Erwan SetiawanAffiliation unknown2
Bagus SartonoIPB University2
Asysta Amalia PasaribuBinus University2
Budi SusetyoAffiliation unknown2
Faula ArinaAffiliation unknown1
Utami SyafitriAffiliation unknown1
Agus Mohamad SolehIPB University1
Maulida Fajrining TyasAffiliation unknown1
Embay RohaetiAffiliation unknown1
Christiana Anggraeni PutriAffiliation unknown1
Husnun NashirAffiliation unknown1
Anik DjuraidahAffiliation unknown1
Nindi PigithaAffiliation unknown1
Hari WijayantoAffiliation unknown1
Fathu NurrahmanAffiliation unknown1
Nunung NurjanahAffiliation unknown1
Irvanal HaqAffiliation unknown1
Efriwati EfriwatiAffiliation unknown1
Titin YuniartyAffiliation unknown1
Dwi Agustin Nuriani SirodjAffiliation unknown1
Yudi Fathul AminAffiliation unknown1
Gusti Arviana RahmanUniversitas Halu Oleo1
Arie PurwantoAffiliation unknown1
Muhammad Aziz SuprayogiAffiliation unknown1
Joao Ferreira Rendes Bean LolyAffiliation unknown1
Muhammad Azis SuprayogiAffiliation unknown1
Agus Sofian Eka HidayatAffiliation unknown1
Dian KusumaningrumAffiliation unknown1
Siskarossa Ika OktoraAffiliation unknown1
Dariani MatualageAffiliation unknown1
Asysta Amalia PasaribuAffiliation unknown1

Affiliations come from OpenAlex; journal OAI-PMH metadata carries none. Authors without an OpenAlex ID are matched by name, which can merge or split people.

Metadata source: OAI-PMH (metadata jurnal) https://journal.unhas.ac.id/index.php/ESTIMASI/oai, first harvested 2 Nov 2026, last seen 2 Nov 2026.
Original metadata (oai_dc)
<oai_dc:dc xmlns="http://www.openarchives.org/OAI/2.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/  http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
	<dc:title xml:lang="en">Mendeteksi Unsur Depresi pada Unggahan Media Sosial Menggunakan Metode Machine Learning dengan Optimasi Berbasis Inspirasi Alam</dc:title>
	<dc:creator xml:lang="en">Santoso, Zein Rizky</dc:creator>
	<dc:creator xml:lang="en">Wigena, Aji Hamim</dc:creator>
	<dc:creator xml:lang="en">Kurnia, Anang</dc:creator>
	<dc:subject xml:lang="en">depression</dc:subject>
	<dc:subject xml:lang="en">Social Media</dc:subject>
	<dc:subject xml:lang="en">Machine Learning</dc:subject>
	<dc:subject xml:lang="en">Feature Selection</dc:subject>
	<dc:subject xml:lang="en">Flamingo Search Algorithm</dc:subject>
	<dc:subject xml:lang="en">Text Classification</dc:subject>
	<dc:description xml:lang="en">Social media has now become an inseparable part of everyday life, including in expressing emotions and mental states. One popular platform is X (formerly Twitter), where many users indirectly share signs of depression. This study develops a classification model to detect indications of depression in social media posts, using machine learning algorithms and feature selection techniques based on nature-inspired algorithms. The classification algorithms used include Naïve Bayes, k-Nearest Neighbors (k-NN), Decision Tree, Random Forest, and XGBoost. Each algorithm is combined with feature selection techniques using Particle Swarm Optimization (PSO), Bat Algorithm (BA), and Flamingo Search Algorithm (FSA). The models are evaluated based on accuracy, precision, recall, F1-score, and the number of features used. The results show that the combination of the Random Forest method with FSA-based feature selection (RF-FSA) delivers the best performance, with an accuracy of 82.2%, balanced precision and recall, and efficient feature usage. Another strong alternative is XGBoost with FSA (XGB-FSA), although it requires more features and longer computational time. This study demonstrates that selecting the right feature selection algorithm, particularly FSA, can significantly improve both the accuracy and efficiency of depression text classification models. The resulting model is expected to serve as a useful tool for early detection of depression symptoms from social media posts, allowing for quicker and more targeted interventions.</dc:description>
	<dc:publisher xml:lang="en">Hasanuddin University</dc:publisher>
	<dc:date>2025-08-04</dc:date>
	<dc:type>info:eu-repo/semantics/article</dc:type>
	<dc:type>info:eu-repo/semantics/publishedVersion</dc:type>
	<dc:format>application/pdf</dc:format>
	<dc:identifier>https://journal.unhas.ac.id/index.php/ESTIMASI/article/view/45516</dc:identifier>
	<dc:identifier>10.20956/ejsa.v6i2.45516</dc:identifier>
	<dc:source xml:lang="en">ESTIMASI: Journal of Statistics and Its Application; Vol. 6, No. 2, Juli, 2025 : Estimasi; 128-143</dc:source>
	<dc:source>2721-379X</dc:source>
	<dc:source>2721-3803</dc:source>
	<dc:language>en</dc:language>
	<dc:relation>https://journal.unhas.ac.id/index.php/ESTIMASI/article/view/45516/13217</dc:relation>
</oai_dc:dc>