Handling Data Imbalance in Blog Page Classification Using SMOTE and ADASYN with Tree-Based Ensemble Models
DOI:
https://doi.org/10.52436/1.jutif.2026.7.5.5671Keywords:
ADASYN, Data Imbalance, FastText, Search Engine Optimization, SMOTEAbstract
SEO optimization plays a critical role in improving web page visibility in search engines. However, the limited proportion of Good SEO articles creates class imbalance, which biases classification models toward the majority class and reduces their ability to detect high-performing content. This study investigates effective strategies for handling data imbalance in SEO performance classification and evaluates the suitability of tree-based ensemble models for this task. Two oversampling techniques, the Synthetic Minority Oversampling Technique (SMOTE) and Adaptive Synthetic Sampling (ADASYN), were applied to a dataset containing textual and numerical SEO features. Textual components were transformed using FastText embeddings to capture semantic relationships among on-page elements. Random Forest and XGBoost models were then trained and evaluated using balanced accuracy, precision, recall, and F1-score. The experimental results indicate that Random Forest combined with SMOTE achieved the highest balanced accuracy of 74.2%, outperforming other configurations in identifying Good SEO articles. Although XGBoost with ADASYN also achieved a competitive balanced accuracy of 74.0%, its performance remained slightly lower than Random Forest with SMOTE. These findings confirmed that appropriate imbalance handling significantly enhanced classification fairness and minority-class sensitivity. From a computer science perspective, this study advances research in imbalanced text classification and web mining by providing empirical evidence that integrating semantic embeddings with adaptive resampling strategies improves predictive robustness and model reliability in real-world digital content evaluation. The proposed framework supports the development of automated, data-driven SEO auditing systems.
Downloads
References
A. Palanivinayagam, C. Z. El-Bayeh, and R. Damaševičius, “Twenty Years of Machine-Learning-Based Text Classification: A Systematic Review,” Algorithms, vol. 16, no. 5, p. 236, Apr. 2023, doi: 10.3390/a16050236.
A. Karimah, G. Dwilestari, and M. Mulyawan, “Analisis Sentimen Komentar Video Mobil Listrik Di Platform Youtube Dengan Metode Naive Bayes,” JATI (Jurnal Mahasiswa Teknik Informatika), vol. 8, no. 1, pp. 767–737, Mar. 2024, doi: 10.36040/jati.v8i1.8373.
L. Dube and T. Verster, “Enhancing classification performance in imbalanced datasets: A comparative analysis of machine learning models,” DSFE, vol. 3, no. 4, pp. 354–379, 2023, doi: 10.3934/DSFE.2023021.
S. N. Husin, P. Edastama, and A. Tambunan, “Digital Marketing Strategy using White Hat SEO Techniques,” IJCITSM, vol. 2, no. 2, pp. 171–179, Sep. 2022, doi: 10.34306/ijcitsm.v2i2.118.
M. Mujahid et al., “Data oversampling and imbalanced datasets: an investigation of performance for machine learning and feature engineering,” J Big Data, vol. 11, no. 1, p. 87, Jun. 2024, doi: 10.1186/s40537-024-00943-4.
L. Wang, M. Han, X. Li, N. Zhang, and H. Cheng, “Review of Classification Methods on Unbalanced Data Sets,” IEEE Access, vol. 9, pp. 64606–64628, 2021, doi: 10.1109/ACCESS.2021.3074243.
H. Dharmawan, B. Sartono, A. Kurnia, A. F. Hadi, and E. Ramadhani, “A study of machine learning algorithms to measure the feature importance in class-imbalance data of food insecurity cases in Indonesia,” Communications in Mathematical Biology and Neuroscience, 2022, doi: 10.28919/cmbn/7636.
W. Chen, K. Yang, Z. Yu, Y. Shi, and C. L. P. Chen, “A survey on imbalanced learning: latest research, applications and future directions,” Artif Intell Rev, vol. 57, no. 6, p. 137, May 2024, doi: 10.1007/s10462-024-10759-6.
S. Bagui and K. Li, “Resampling imbalanced data for network intrusion detection datasets,” J Big Data, vol. 8, no. 1, p. 6, Dec. 2021, doi: 10.1186/s40537-020-00390-x.
A. Banerjee, M. Bhattacharjee, K. Ghosh, and S. Chatterjee, “Synthetic minority oversampling in addressing imbalanced sarcasm detection in social media,” Multimed Tools Appl, vol. 79, no. 47–48, pp. 35995–36031, Dec. 2020, doi: 10.1007/s11042-020-09138-4.
C. S. K. Aditya, G. W. Wicaksono, G. W. Wicaksono, H. A. S. Heryawan, and H. A. S. Heryawan, “Sentiment Analysis of the 2024 Presidential Candidates Using SMOTE and Long Short Term Memory,” JIUP, vol. 8, no. 2, pp. 279–286, Jun. 2023, doi: 10.32493/informatika.v8i2.32210.
A. Khan, H. Zhang, N. Boudjellal, A. Ahmad, and M. Khan, “Improving Sentiment Analysis in Election-Based Conversations on Twitter with ElecBERT Language Model,” Computers, Materials & Continua, vol. 76, no. 3, pp. 3345–3361, 2023, doi: 10.32604/cmc.2023.041520.
M. Mujahid et al., “Sentiment Analysis and Topic Modeling on Tweets about Online Education during COVID-19,” Applied Sciences, vol. 11, no. 18, p. 8438, Sep. 2021, doi: 10.3390/app11188438.
S. Manoochehri, M. Zamani, M. Afshari, A. R. Soltanian, and Z. Manoochehri, “Evaluating the performance of different machine learning algorithms based on SMOTE in predicting musculoskeletal disorders in elementary school students,” BMC Med Res Methodol, vol. 25, no. 1, p. 227, Oct. 2025, doi: 10.1186/s12874-025-02654-7.
M. Kivrak, U. Avci, H. Uzun, and C. Ardic, “The Impact of the SMOTE Method on Machine Learning and Ensemble Learning Performance Results in Addressing Class Imbalance in Data Used for Predicting Total Testosterone Deficiency in Type 2 Diabetes Patients,” Diagnostics, vol. 14, no. 23, p. 2634, Nov. 2024, doi: 10.3390/diagnostics14232634.
D. S. Asudani, N. K. Nagwani, and P. Singh, “Impact of word embedding models on text analytics in deep learning environment: a review,” Artif Intell Rev, vol. 56, no. 9, pp. 10345–10425, Sep. 2023, doi: 10.1007/s10462-023-10419-1.
J. Gerber, J. Saxer, B. Kreiner, and A. Weiler, “Benchmarking state of the art website embedding methods for effective processing and analysis in the public sector,” J Intell Inf Syst, 2025, doi: 10.1007/s10844-025-00954-4.
N. Badri, F. Kboubi, and A. H. Chaibi, “Combining FastText and Glove Word Embedding for Offensive and Hate speech Text Detection,” Procedia Computer Science, vol. 207, pp. 769–778, 2022, doi: 10.1016/j.procs.2022.09.132.
R. N. S. M. Jen, S. N. Kapita, and M. Fhadli, “Comparison of Normalization of Indonesian Slang Words Using the FastText & Word2vec Model with the Natural Language Processing Approach,” Nusantara Sci. and Tech. Proc., pp. 40–49, Apr. 2025, doi: 10.11594/nstp.2025.4805.
G. Matošević, J. Dobša, and D. Mladenić, “Using machine learning for web page classification in search engine optimization,” Future Internet, vol. 13, no. 1, p. 9, Jan. 2021, doi: 10.3390/fi13010009.
S. S. Shaffi and I. Muthulakshmi, “Search Engine Optimization by using Machine Learning for Web Page Classification,” in 2022 International Conference on Augmented Intelligence and Sustainable Systems (ICAISS), Trichy, India: IEEE, Nov. 2022, pp. 342–349. doi: 10.1109/ICAISS55157.2022.10011123.
M. G. Confetto and C. Covucci, “Sustainability-contents SEO: A semantic algorithm to improve the quality rating of sustainability web contents,” TQM, vol. 33, no. 7, pp. 295–317, Dec. 2021, doi: 10.1108/TQM-05-2021-0125.
M. Farahmand, A. B. M. D. Sultan, M. A. A. Murad, and F. Sidi, “Optimizing title and meta tags based on distribution of keywords; lexical and semantic approaches,” Journal of Computer Science, vol. 7, no. 9, pp. 1358–1362, Sep. 2011, doi: 10.3844/jcssp.2011.1358.1362.
N. G. Ramadhan, “Comparative Analysis of ADASYN-SVM and SMOTE-SVM Methods on the Detection of Type 2 Diabetes Mellitus,” SJI, vol. 8, no. 2, pp. 276–282, Nov. 2021, doi: 10.15294/sji.v8i2.32484.
C. Kaope and Y. Pristyanto, “The Effect of Class Imbalance Handling on Datasets Toward Classification Algorithm Performance,” matrik, vol. 22, no. 2, pp. 227–238, Mar. 2023, doi: 10.30812/matrik.v22i2.2515.
M. Umer et al., “Impact of convolutional neural network and FastText embedding on text classification,” Multimed Tools Appl, vol. 82, no. 4, pp. 5569–5585, Feb. 2023, doi: 10.1007/s11042-022-13459-x.
P. Bojanowski, E. Grave, A. Joulin, and T. Mikolov, “Enriching Word Vectors with Subword Information,” TACL, vol. 5, pp. 135–146, Dec. 2017, doi: 10.1162/tacl_a_00051.
A. Pertiwi, A. Azhari, and S. Mulyana, “Fast2Vec, a modified model of FastText that enhances semantic analysis in topic evolution,” PeerJ Computer Science, vol. 11, p. e2862, May 2025, doi: 10.7717/peerj-cs.2862.
S. Nuradilla, K. Sadik, C. Suhaeni, and A. M. Soleh, “Klasifikasi Halaman SEO Berbasis Machine Learning Melalui Mutual Information dan Random Forest Feature Importance,” MIND Journal, vol. 10, no. 1, pp. 114–129, Jun. 2025, doi: 10.26760/mindjournal.v10i1.114-129.
N. V. Chawla, K. W. Bowyer, L. O. Hall, and W. P. Kegelmeyer, “SMOTE: Synthetic Minority Over-sampling Technique,” jair, vol. 16, pp. 321–357, Jun. 2002, doi: 10.1613/jair.953.
T. Wongvorachan, S. He, and O. Bulut, “A Comparison of Undersampling, Oversampling, and SMOTE Methods for Dealing with Imbalanced Classification in Educational Data Mining,” Information, vol. 14, no. 1, p. 54, Jan. 2023, doi: 10.3390/info14010054.
A. Anggrawan, H. Hairani, and C. Satria, “Improving SVM Classification Performance on Unbalanced Student Graduation Time Data Using SMOTE,” IJIET, vol. 13, no. 2, pp. 289–295, 2023, doi: 10.18178/ijiet.2023.13.2.1806.
D. Elreedy, A. F. Atiya, and F. Kamalov, “A theoretical distribution analysis of synthetic minority oversampling technique (SMOTE) for imbalanced learning,” Mach Learn, vol. 113, no. 7, pp. 4903–4923, Jul. 2024, doi: 10.1007/s10994-022-06296-4.
H. He, Y. Bai, Edwardo A. Garcia, and S. Li, “ADASYN: Adaptive synthetic sampling approach for imbalanced learning,” in 2008 IEEE International Joint Conference on Neural Networks (IEEE World Congress on Computational Intelligence), Hong Kong, China: IEEE, Jun. 2008, pp. 1322–1328. doi: 10.1109/IJCNN.2008.4633969.
T. M. Khan, S. Xu, Z. G. Khan, and M. Uzair Chishti, “Implementing Multilabeling, ADASYN, and ReliefF Techniques for Classification of Breast Cancer Diagnostic through Machine Learning: Efficient Computer-Aided Diagnostic System,” Journal of Healthcare Engineering, vol. 2021, pp. 1–15, Mar. 2021, doi: 10.1155/2021/5577636.
F. Sohil, M. U. Sohali, and J. Shabbir, “An introduction to statistical learning with applications in R: by Gareth James, Daniela Witten, Trevor Hastie, and Robert Tibshirani, New York, Springer Science and Business Media, 2013, $41.98, eISBN: 978-1-4614-7137-7,” Statistical Theory and Related Fields, vol. 6, no. 1, pp. 87–87, Jan. 2022, doi: 10.1080/24754269.2021.1980261.
I. D. Mienye and Y. Sun, “A Survey of Ensemble Learning: Concepts, Algorithms, Applications, and Prospects,” IEEE Access, vol. 10, pp. 99129–99149, 2022, doi: 10.1109/ACCESS.2022.3207287.
L. Capitaine, R. Genuer, and R. Thiébaut, “Random forests for high-dimensional longitudinal data,” Stat Methods Med Res, vol. 30, no. 1, pp. 166–184, Jan. 2021, doi: 10.1177/0962280220946080.
P. Probst, M. Wright, and A.-L. Boulesteix, “Hyperparameters and Tuning Strategies for Random Forest,” WIREs Data Min & Knowl, vol. 9, no. 3, p. e1301, May 2019, doi: 10.1002/widm.1301.
Z. A. Ali, Z. H. Abduljabbar, H. A. Tahir, A. Bibo Sallow, and S. M. Almufti, “eXtreme Gradient Boosting Algorithm with Machine Learning: a Review,” ACAD J NAWROZ UNIV, vol. 12, no. 2, pp. 320–334, May 2023, doi: 10.25007/ajnu.v12n2a1612.
S. Sharma and N. Joshi, “A fusion approach to detect sarcasm using NLTK models BERT and XG Boost,” JIOS, vol. 45, no. 4, pp. 981–990, 2024, doi: 10.47974/JIOS-1621.
B. Lartey, A. Homaifar, A. Girma, A. Karimoddini, and D. Opoku, “XGBoost: a tree-based approach for traffic volume prediction,” in 2021 IEEE International Conference on Systems, Man, and Cybernetics (SMC), Melbourne, Australia: IEEE, Oct. 2021, pp. 1280–1286. doi: 10.1109/SMC52423.2021.9658959.
Y. Jiang, G. Tong, H. Yin, and N. Xiong, “A Pedestrian Detection Method Based on Genetic Algorithm for Optimize XGBoost Training Parameters,” IEEE Access, vol. 7, pp. 118310–118321, 2019, doi: 10.1109/ACCESS.2019.2936454.
P. Thölke et al., “Class imbalance should not throw you off balance: Choosing the right classifiers and performance metrics for brain decoding with imbalanced data,” NeuroImage, vol. 277, p. 120253, Aug. 2023, doi: 10.1016/j.neuroimage.2023.120253.
Additional Files
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Siti Nuradilla, Budi Susetyo, Cici Suhaeni, Fatchurrachman

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

</a



