Physical Activities Recommender System Based on Sequential Data Use K-Mean Clustering


  • Rizky Haffiyan Roseno School of computing, Telkom University Bandung, Indonesia
  • Z. K. A. Baizal School of computing, Telkom University Bandung, Indonesia
  • Ramanti Dharayani School of computing, Telkom University Bandung, Indonesia




K-mean Clustering, Apache Spark, Recommender System, Physical Activities


Physical activities such as Exercise are essential in maintaining health and fitness, especially for those who adopt a healthy lifestyle. Irregularity in doing Exercise can hurt the body and health, especially if it is not done according to one's physical capacity. In the framework of this research, we developed a Recommender System that aims to provide exercise suggestions according to the user's preferences, especially in the categories of cycling, running, walking, and horse riding. The primary considerations of the variables include heart rate (Average Heart Rate) and pace (Speed Rate). This research approach uses the FitRec Dataset and applies the K-Mean Clustering Algorithm, with the support of APACHE SPARK, for large-scale data processing, given the large data size in the FitRec dataset. Grouping is done using the FitRec dataset and K-Mean. Users are grouped according to heart rate and pace information; this provides appropriate Exercise for users. The test results show that the proposed system performs well, as indicated by the silhouette score = 0.596, calinzski-harabaz score = 2133.09, and davies bouldin score = 0.480. These test metrics reflect the system's ability to cluster. Indirectly, the accuracy performance of the system is assessed through these metrics, showing good accuracy test results.

GS Cited Analysis


Download data is not yet available.

Author Biography

Rizky Haffiyan Roseno, School of computing, Telkom University Bandung, Indonesia

School Of Computing


Ni, J., Muhlstein, L., & McAuley, J. (2019). Modeling heart rate and activity data for personalized fitness recommendation. In The World Wide Web Conference, pp. 1343–1353.

Malm, C., Jakobsson, J., & Isaksson, A. (2019). Physical Activity and Sports-Real Health Benefits: A Review with Insight into the Public Health of Sweden. Sports (Basel), 7(5), 127.

Sinaga, K. P., & Yang, M.-S. (2020). Unsupervised K-Means Clustering Algorithm. IEEE Access, 8, 80716-80727.

Muhammad, W. S. F., Baizal, Z. K. A., & Dharayani, R. (2023). Ontology-Based Recommender System for Personalized Physical Exercise in Obesity Management. Sinkron : Jurnal Dan Penelitian Teknik Informatika, 8(3), 1699-1708.

Ahuja, R., Solanki, A., & Nayyar, A. (2019, January). Movie recommender system using k-means clustering and k-nearest neighbor. In 2019 9th International Conference on Cloud Computing, Data Science & Engineering (Confluence) (pp. 263-268). IEEE.

Wang, K., Zhang, T., Xue, T., Lu, Y., & Na, S.-G. (2020). E-commerce Personalized Recommendation Analysis by Deeply-Learned Clustering. Journal of Visual Communication and Image Representation, 71, 102735.

Puspasari, B. D., Damayanti, L. L., Pramono, A., & Darmawan, A. K. (2021). Implementation K-Means Clustering Method in Job Recommendation System. In 2021 7th International Conference on Electrical, Electronics and Information Engineering (ICEEIE) (pp. 1-6). Malang, Indonesia.

Ebada, A. I., Elhenawy, I., Jeong, C. W., Nam, Y., Elbakry, H., & Abdelrazek, S. (2022). Applying apache spark on streaming big data for health status prediction. Comput., Mater. Continua, 70(2), 3511-3527.

Ashari, I., Dwi Nugroho, E., Baraku, R., Novri Yanda, I., & Liwardana, R. (2023). Analysis of Elbow, Silhouette, Davies-Bouldin, Calinski-Harabasz, and Rand-Index Evaluation on K-Means Algorithm for Classifying Flood-Affected Areas in Jakarta. Journal of Applied Informatics and Computing, 7(1), 95-103.

Pieh, C., Budimir, S., & Probst, T. (2020). The effect of age, gender, income, work, and physical activity on mental health during coronavirus disease (COVID-19) lockdown in Austria. J Psychosom Res, 136, 110186.

Singh, D., & Singh, B. (2020). Investigating the impact of data normalization on classification performance. Applied Soft Computing, 97(Part B), 105524.

Ali, F., et al. (2020). A smart healthcare monitoring system for heart disease prediction based on ensemble deep learning and feature fusion. Information Fusion, 63, 208-222.

Patgiri, R., & Ahmed, A. (2016). Big Data: The V's of the Game Changer Paradigm. In 2016 IEEE 18th International Conference on High-Performance Computing and Communications; IEEE 14th International Conference on Smart City; IEEE 2nd International Conference on Data Science and Systems (HPCC/SmartCity/DSS) (pp. 17-24). Sydney, NSW, Australia. https://doi:10.1109/HPCC-SmartCity-DSS.2016.0014

Abdulaziz, M., et al. (2021). Building a personalized fitness recommendation application based on sequential information. International Journal of Advanced Computer Science and Applications, 12(1).

Lamusu, Z. (2018). Olahraga Dan Penyakit Zaman Modern. Ideas: Jurnal Pendidikan, Sosial, Dan Budaya, 4(4), 537-552. Retrieved from

Zhang, C., Liang, H., & Wang, K. (2016). Trip recommendation meets real-world constraints: Poi availability, diversity, and traveling time uncertainty. ACM Transactions on Information Systems (TOIS), 35(1), 1–28.

Loepp, B., & Ziegler, J. (2018). Recommending running routes: framework and demonstrator. In Workshop on Recommendation in Complex Scenarios.

Vinodhini, S., Rajalakshmi, V., & Govindarajalu, B. (2014). Building personalised recommendation system with big data and Hadoop MapReduce. International Journal of Engineering Research and Technology, 3(4), 2310–2316.

Serrano, W. (2019). Intelligent recommender system for big data applications based on the random neural network. Big Data and Cognitive Computing, 3(1), 15.

Verma, J. P., Patel, B., & Patel, A. (2015). Big data analysis: recommendation system with Hadoop framework. In 2015 IEEE International Conference on Computational Intelligence & Communication Technology (pp. 92–97).

Dahdouh, K., et al. (2019). Large-scale e-learning recommender system based on Spark and Hadoop. Journal of Big Data, 6(1), 1-23.


Crossmark Updates

How to Cite

Roseno, R. H. ., Baizal, Z. K. A., & Dharayani, R. . (2024). Physical Activities Recommender System Based on Sequential Data Use K-Mean Clustering. Sinkron : Jurnal Dan Penelitian Teknik Informatika, 8(1), 581-593.