Combining XGBoost and hybrid filtering algorithm in e-commerce recommendation system

Vincentius Loanka Sinaga, Antoni Wibowo

Abstract


This study proposes a hybrid filtering algorithm (HFA) that combines extreme gradient boosting (XGBoost), content-based filtering (CBF), and collaborative filtering (CF) to improve recommendation accuracy in electronic commerce (e-commerce). XGBoost first leverages demographic data (e.g., age, gender, and location) to address cold start conditions, producing an initial product prediction; CBF refines this prediction by measuring product similarities through term frequency-inverse document frequency (TF-IDF) and cosine similarity, while CF (implemented via singular value decomposition) further incorporates user interaction patterns to enhance recommendations. Experimental results across multiple datasets demonstrate that HFA consistently outperforms standalone XGBoost in key metrics, including precision, F1-score, and hit ratio (HR). HFA’s precision often exceeds 90%, indicating fewer irrelevant recommendations. Although recall levels remain modest, HFA exhibits stronger adaptability under cold start scenarios due to its reliance on demographic features and user-item interactions. These findings highlight the efficacy of combining advanced machine learning with hybrid filtering techniques, offering a more robust and context-aware solution for e-commerce recommendation systems.

Full Text:

PDF


DOI: http://doi.org/10.11591/ijaas.v14.i2.pp618-626

Refbacks

  • There are currently no refbacks.


Copyright (c) 2025 Intelektual Pustaka Media Utama (IPMU)

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

View the IJAAS Visitor Statistics

International Journal of Advances in Applied Sciences (IJAAS)
p-ISSN 2252-8814, e-ISSN 2722-2594
This journal is published by Intelektual Pustaka Media Utama (IPMU) in collaboration with the Institute of Advanced Engineering and Science (IAES).