Classification of Sleep Disorders Based on Lifestyle using K-Nearest Neighbors Algorithm

sleep disorders are abnormalities in sleep patterns caused by lifestyle, mental and physical health conditions. Given the huge impact of sleep disorders on health and quality of life. The aim of this study is to classify sleep disorders based on lifestyle using the K-Nearest Neighbors algorithm. The dataset used comes from Kaggle, namely Sleep Health and Lifestyle, which contains data related to sleep patterns, lifestyle, and individual healthIn order to mitigate class imbalances, the Synthetic Minority Oversampling Technique (SMOTE) is implemented. To determine the best k value in KNN, the Elbow Method is applied, resulting in an optimal k value of 3. The evaluation matrix used in this study includes precision, recall, f1-score, and confusion matrix. The results show that SMOTE improves classification, increasing accuracy from 88% to 91%. Some misclassifications persist due to feature overlap. Therefore, future work should explore feature selection and increase the dataset size. Additionally, exploring models such as Random Forest, Support Vector Machine, or deep learning-based algorithms can be done to compare performance and improve accuracy.

Authors

Institutions

Publication Details

Published
2025-07-30
DOI
https://doi.org/10.1109/icoict66265.2025.11192909
Primary Topic
AI and Big Data Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Classification of Sleep Disorders Based on Lifestyle using K-Nearest Neighbors Algorithm

Rohmat Gunawan, Erna Haerani, Irfan Darmawan, Alam Rahmatulloh et al.
AI and Big Data Applications
article

Classification of Sleep Disorders Based on Lifestyle using K-Nearest Neighbors Algorithm

Rohmat Gunawan, Erna Haerani, Irfan Darmawan, Alam Rahmatulloh, Randi Rizal, Yasmin Indah Hasari
article en

Abstract

sleep disorders are abnormalities in sleep patterns caused by lifestyle, mental and physical health conditions. Given the huge impact of sleep disorders on health and quality of life. The aim of this study is to classify sleep disorders based on lifestyle using the K-Nearest Neighbors algorithm. The dataset used comes from Kaggle, namely Sleep Health and Lifestyle, which contains data related to sleep patterns, lifestyle, and individual healthIn order to mitigate class imbalances, the Synthetic Minority Oversampling Technique (SMOTE) is implemented. To determine the best k value in KNN, the Elbow Method is applied, resulting in an optimal k value of 3. The evaluation matrix used in this study includes precision, recall, f1-score, and confusion matrix. The results show that SMOTE improves classification, increasing accuracy from 88% to 91%. Some misclassifications persist due to feature overlap. Therefore, future work should explore feature selection and increase the dataset size. Additionally, exploring models such as Random Forest, Support Vector Machine, or deep learning-based algorithms can be done to compare performance and improve accuracy.

Siliwangi University (ID), Telkom University (ID)
Openalex Percentile: Top 58%
AI and Big Data Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Classification of Sleep Disorders Based on Lifestyle using K-Nearest Neighbors Algorithm — Rohmat Gunawan, Erna Haerani, et al. · (2025) | TGRS Research Map | TGRS