Research Article

Comparison of machine learning-based book comments sentiment analysis for constructing recommendation system

Jiaqi Weng*
Rensselaer Polytechnic Institute

* Corresponding author: [email protected]

Abstract

The exponential growth in the volume of books available, along with the proliferation of online platforms, has made it increasingly challenging for readers to find books tailored to their interests. This research paper aims to address this challenge by developing an effective book recommendation system based on user reviews and ratings, primarily drawn from Amazon’s dataset covering the period from May 1996 to July 2014. Using a K-Nearest Neighbors (KNN) algorithm and a Random Forest baseline model, the study focuses on comparative analyses in terms of Mean Squared Error (MSE) and computational costs. The KNN model outperformed the baseline model with a lower MSE of 0.15 compared to 0.38 and proved to be computationally less exacting. While the KNN model is currently the more tenable option for deployment, the paper posits that an ensemble approach may offer a more robust solution. Future work aims to include sentiment analysis, explore other recommendation algorithms, and make use of more advanced evaluation metrics. This study provides a foundation for the advancement of book recommendation systems, offering insights into their efficiency and effectiveness.

Keywords: Sentiment Analysis; K-Nearest Neighbors; Random Forest; Recommendation System
Published: March 15, 2024
DOI: 10.54254/2755-2721/47/20241245
Volume: ACE Vol.47
pp. 120-124
Download PDF

References

  1. Islek, I., & Oguducu, S. G. (2022). A hierarchical recommendation system for E-commerce using online user reviews. Electronic Commerce Research and Applications, 52, 101131.
  2. Zhang, S., Yao, L., Sun, A., & Tay, Y. (2019). Deep learning based recommender system: A survey and new perspectives. ACM computing surveys (CSUR), 52(1), 1-38.
  3. Amazon Books Reviews, URL: https://www.kaggle.com/datasets/mohamedbakhet/amazon-books-reviews. Last Accessed: 2023/09/18
  4. Subramaniyaswamy, V., & Logesh, R. (2017). Adaptive KNN based recommender system through mining of user preferences. Wireless Personal Communications, 97, 2229-2247.
  5. Bahrani, P., Minaei-Bidgoli, B., Parvin, H., Mirzarezaee, M., & Keshavarz, A. (2023). A new improved KNN-based recommender system. The Journal of Supercomputing, 1-35.
  6. Anandarajan, M., Hill, C., Nolan, T., Anandarajan, M., Hill, C., & Nolan, T. (2019). Text preprocessing. Practical text analytics: Maximizing the value of text data, 45-59.
  7. Rigatti, S. J. (2017). Random forest. Journal of Insurance Medicine, 47(1), 31-39.
  8. Biau, G., & Scornet, E. (2016). A random forest guided tour. Test, 25, 197-227.
  9. Kramer, O., & Kramer, O. (2013). K-nearest neighbors. Dimensionality reduction with unsupervised nearest neighbors, 13-23.
  10. Jiang, L., Cai, Z., Wang, D., & Jiang, S. (2007). Survey of improving k-nearest-neighbor for classification. In Fourth international conference on fuzzy systems and knowledge discovery, 1, 679-683.