A sentiment-based comprehensive rating model with extensive dataset for nationwide hospital rating in Bangladesh using natural language processing and machine learning

dc.contributor.advisorChakrabarty, Amitabha
dc.contributor.authorAuishik, Asiful Kanzan
dc.contributor.authorAl-Zahir, Fariha Mohammed
dc.contributor.authorSamia, Magferah Sultana
dc.contributor.authorHossain, Moumita
dc.date.accessioned2026-01-27T08:30:00Z
dc.date.available2026-01-27T08:30:00Z
dc.date.issued2025-10
dc.descriptionCataloged from PDF version of thesis.
dc.descriptionIncludes bibliographical references (pages 70-72).
dc.descriptionThis thesis is submitted in partial fulfillment of the requirements for the degree of Bachelor of Science in Computer Science and Engineering, 2025.
dc.description.abstractBangladesh has a huge number of public and private hospitals in its districts. However, there is no trustworthy, unbiased resource for patients to choose the best hospitals concerning quality of service. The existing star-based rating systems are prone to manipulation and do not capture detailed feedback from the patients. This paper proposes an advanced model of hospital rating that grades the hospitals based on online reviews of the patients, considering aspects like patient experience and quality of care. This proposed model employs NLP and ML techniques to analyze the sentiment of patient feedback and extract insights from it. It is expected to provide a data-driven hospital rating system based solely on user experiences by integrating various dimensions of hospital service quality to identify strengths and areas for improvement across the country. A large dataset of structured and unstructured reviews is collected from online platforms. Text mining and advanced NLP techniques process sentiment data. Various machine learning models, such as SVM, BERT, and CNN, are trained and validated on pre-processed data for sentiment prediction. Steps to achieving this objective involve data collection, data preprocessing, sentiment analysis, and, eventually, aspect-based sentiment analysis using zero-shot aspect detection to generate hospital ratings based on 4 aspects: treatment quality, cleanliness, affordability, and service quality. Rating generation classify sentiments as positive, negative, or neutral, thereby dynamically, and in real time, rating a hospital. This model provides a more reliable and nuanced rating system that allows for transparent comparisons across hospitals and actionable insights into strengths and weaknesses. The framework is adaptable to other sectors, such as education and retail, providing an enlarged scope of application for sentiment analysis in service quality evaluation. For sentiment prediction of the reviews, BERT proves to be the best performing model out of all the models in terms of accuracy, precision, recall, and F1 score, producing 94.1%, 94.7%, 94.1%, and 94.4% respectively. For the aspect-based ranking of hospitals, the model is most confident in detecting treatment quality as it produces the highest teacher threshold of 0.51 for this aspect. It also produces the highest precision, F1 score, and agreement of 0.98, 0.97, and 0.96, respectively, for treatment quality, whereas, both affordability and service quality score the highest recall of 0.99.
dc.identifier.otherID 19101628
dc.identifier.otherID 22101874
dc.identifier.otherID 22101875
dc.identifier.otherID 22301083
dc.identifier.otherhttps://dspace.bracu.ac.bd/server/api/core/items/7dd75a04-0887-4161-b76b-167b26830a6c
dc.identifier.urihttp://hdl.handle.net/10361/27486
dc.language.isoen
dc.publisherBRAC University
dc.sourceBRAC University Institutional Repository
dc.subjectSentiment analysis
dc.subjectAdvanced rating systems
dc.subjectHospital rating systems
dc.subjectNatural language processing
dc.subjectMachine learning
dc.subjectData-driven rating
dc.subjectGoogle reviews
dc.subjectPatient feedback
dc.subjectDeep neural networks
dc.subjectConvolutional neural networks
dc.subjectText mining
dc.subjectBERT
dc.titleA sentiment-based comprehensive rating model with extensive dataset for nationwide hospital rating in Bangladesh using natural language processing and machine learning
dc.typeThesis

Files

Original bundle

Now showing 1 - 1 of 1
Thumbnail Image
Name:
19101628, 22101874, 22101875, 22301083_CSE.pdf
Size:
1.77 MB
Format:
Adobe Portable Document Format