Melola Discovery

← Melola Discovery

Jurnal

Development of a Mental Health Classifier Using LSTM and Text Preprocessing Techniques

Scientific Journal of Informatics · Vol. 12 No. 1 (2025) · hlm. 77–86

DOI
10.15294/sji.v12i1.21216
ISSN
2407-7658, 2460-0040
Terbit
2025-05-21
Penerbit
Universitas Negeri Semarang
Bahasa
eng

Abstrak

Purpose: This study aims to address undiagnosed mental health conditions using social media for early detection. By applying advanced preprocessing techniques and LSTM models, the research improves classification accuracy for depression and PTSD. It highlights deep learning’s potential to process unstructured data and provides a scalable solution for real-world mental health monitoring. Methods: Data was collected from Twitter using keywords like "depression" and "anxiety." Preprocessing included normalization, tokenization, stemming, and stopword removal. An LSTM-based model with GloVe embeddings, LSTM layers, and dropout was developed. The model’s performance was evaluated using metrics like accuracy, precision, recall, and F1-score to ensure robust and applicable results. Result: The LSTM model achieved 90% accuracy, outperforming Random Forest (89%) and SVM (89%). Preprocessing steps like tokenization and stemming boosted performance by 15%. The model effectively captured temporal dependencies in text, showcasing its ability to analyze unstructured social media content for mental health detection. Novelty: This study integrates advanced text preprocessing with LSTM to enhance mental health detection. Unlike traditional methods, it captures temporal nuances using GloVe embeddings. The scalable framework provides a reliable solution for real-world applications, paving the way for multilingual and cross-platform research in mental health analytics.

Kata kunci

Jaringan kolaborasi para penulis

30 penulis · 58 tautan kepenulisan bersama

Arahkan kursor atau ketuk sebuah nama untuk menyorot rekan penulisnya. Klik dua kali untuk membuka halaman penulis.

  • Universitas Halu Oleo
  • Afiliasi tidak diketahui
  • Organisasi berbeda
  • Organisasi sama
  • Afiliasi tidak diketahui
  • Garis lebih tebal = lebih banyak artikel bersama · lingkaran lebih besar = lebih banyak artikel
Tampilkan sebagai tabel
Rekan penulisOrganisasiArtikel bersama
Muhammad NurbaitullahAfiliasi tidak diketahui2
Ahmad Zainul FananiAfiliasi tidak diketahui2
Dadang KahmadAfiliasi tidak diketahui2
Royan Farid FathurrahmanAfiliasi tidak diketahui2
Bernardus Ario Tejo SugiartoAfiliasi tidak diketahui1
Rifki RosyadAfiliasi tidak diketahui1
Dini SafitriAfiliasi tidak diketahui1
Zulham ZulhamAfiliasi tidak diketahui1
Fandu FaisalAfiliasi tidak diketahui1
Bambang QomaruzzamanAfiliasi tidak diketahui1
Maria UlfaAfiliasi tidak diketahui1
Yeni HurianiAfiliasi tidak diketahui1
Rina NurdianaAfiliasi tidak diketahui1
Yudi WahyudinAfiliasi tidak diketahui1
Madiyono MadiyonoAfiliasi tidak diketahui1
Dody S. TrunaAfiliasi tidak diketahui1
Asep Saeful MuhtadiAfiliasi tidak diketahui1
Doddy Iskandar CakranegaraAfiliasi tidak diketahui1
Bambang Hendro SunarmintoAfiliasi tidak diketahui1
M. TufailaUniversitas Halu Oleo1
Djafar ShiddieqAfiliasi tidak diketahui1
Didik IndradewaAfiliasi tidak diketahui1
Tohari TohariAfiliasi tidak diketahui1
Supriyono SupriyonoAfiliasi tidak diketahui1
Agung PrabowoAfiliasi tidak diketahui1
Zaenal BachruddinAfiliasi tidak diketahui1
Soemitro PadmowijotoAfiliasi tidak diketahui1

Afiliasi berasal dari OpenAlex; metadata OAI-PMH jurnal tidak memuatnya. Penulis tanpa ID OpenAlex dicocokkan berdasarkan nama, sehingga dua orang bisa tergabung atau satu orang bisa terpisah.

Sumber metadata: OAI-PMH (metadata jurnal) https://journal.unnes.ac.id/journals/sji/oai, pertama di-harvest 6 Nov 2026, terakhir terlihat 8 Nov 2026.
Metadata asli (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">Development of a Mental Health Classifier Using LSTM and Text Preprocessing Techniques</dc:title>
	<dc:creator xml:lang="en">Haryoko, Priyo</dc:creator>
	<dc:creator xml:lang="en">Syukur, Abdul </dc:creator>
	<dc:creator xml:lang="en">Rijati, Nova</dc:creator>
	<dc:subject xml:lang="en">LSTM</dc:subject>
	<dc:subject xml:lang="en">Mental health</dc:subject>
	<dc:subject xml:lang="en">Text preprocessing</dc:subject>
	<dc:subject xml:lang="en">Sentiment analysis</dc:subject>
	<dc:subject xml:lang="en">Social media</dc:subject>
	<dc:description xml:lang="en">Purpose: This study aims to address undiagnosed mental health conditions using social media for early detection. By applying advanced preprocessing techniques and LSTM models, the research improves classification accuracy for depression and PTSD. It highlights deep learning’s potential to process unstructured data and provides a scalable solution for real-world mental health monitoring.
Methods: Data was collected from Twitter using keywords like "depression" and "anxiety." Preprocessing included normalization, tokenization, stemming, and stopword removal. An LSTM-based model with GloVe embeddings, LSTM layers, and dropout was developed. The model’s performance was evaluated using metrics like accuracy, precision, recall, and F1-score to ensure robust and applicable results.
Result: The LSTM model achieved 90% accuracy, outperforming Random Forest (89%) and SVM (89%). Preprocessing steps like tokenization and stemming boosted performance by 15%. The model effectively captured temporal dependencies in text, showcasing its ability to analyze unstructured social media content for mental health detection.
Novelty: This study integrates advanced text preprocessing with LSTM to enhance mental health detection. Unlike traditional methods, it captures temporal nuances using GloVe embeddings. The scalable framework provides a reliable solution for real-world applications, paving the way for multilingual and cross-platform research in mental health analytics.</dc:description>
	<dc:publisher xml:lang="en">Universitas Negeri Semarang</dc:publisher>
	<dc:date>2025-05-21</dc:date>
	<dc:type>info:eu-repo/semantics/article</dc:type>
	<dc:type>info:eu-repo/semantics/publishedVersion</dc:type>
	<dc:type xml:lang="en">Peer-reviewed Article</dc:type>
	<dc:format>application/pdf</dc:format>
	<dc:identifier>https://journal.unnes.ac.id/journals/sji/article/view/21216</dc:identifier>
	<dc:identifier>10.15294/sji.v12i1.21216</dc:identifier>
	<dc:source xml:lang="en">Scientific Journal of Informatics; Vol. 12 No. 1: Regular Issue; 77-86</dc:source>
	<dc:source>2407-7658</dc:source>
	<dc:source>2460-0040</dc:source>
	<dc:source>10.15294/sji.v12i1</dc:source>
	<dc:language>eng</dc:language>
	<dc:relation>https://journal.unnes.ac.id/journals/sji/article/view/21216/4094</dc:relation>
	<dc:rights xml:lang="en">Copyright (c) 2025 Scientific Journal of Informatics</dc:rights>
</oai_dc:dc>