Welcome to the Bahria University DSpace digital repository. DSpace is a digital service that collects, preserves, and distributes digital material. Repositories are important tools for preserving an organization's legacy; they facilitate digital preservation and scholarly communication.
| dc.contributor.author | Muddasir Aziz Khattak, 01-249231-007 | |
| dc.date.accessioned | 2025-08-12T03:43:03Z | |
| dc.date.available | 2025-08-12T03:43:03Z | |
| dc.date.issued | 2025 | |
| dc.identifier.uri | http://hdl.handle.net/123456789/19845 | |
| dc.description | Supervised by Dr. Asfand-e-Yar | en_US |
| dc.description.abstract | Predicting a person’s personality can significantly enhance personalized recommendations across various domains. This study introduces PersonalityBERT, a deep learning model designed to determine personality traits from user-generated text. We utilized the MBTI (Myers-Briggs Type Indicator) dataset, which categorizes personalities into 16 distinct types, and fine-tuned BERT (Bidirectional Encoder Representations from Transformers) to analyze text input effectively. BERT’s contextaware and transformer-based multi-head self-attention mechanisms enable a deeper understanding of semantic meaning, improving personality classification accuracy.To extract meaningful personality insights, preprocessing techniques such as stopword removal, lemmatization, and text vectorization were applied. The fine-tuned BERT model was trained on the MBTI dataset and optimized using hyperparameter tuning, including learning rate adjustments, gradient accumulation, and weight decay regularization. Our PersonalityBERT model achieved an accuracy of 88%, surpassing baseline models, including traditional NLP classifiers and LSTMs. Additionally, the model produced a precision of 0.86, recall of 0.90, F1-score of 0.88, and an AUC-ROC score of 0.94, demonstrating high reliability in personality classification. Beyond classification, this model was integrated into a personality-based recommendation system. Using Sentence Transformers and Cosine Similarity, PersonalityBERT provides personalized book recommendations based on a user’s personality type and textual input. The chatbot framework was developed using Streamlit, with backend deployment. The model successfully matches users to book reviews with high semantic relevance, ensuring enhanced recommendation accuracy. Currently, PersonalityBERT is optimized for book recommendations, but its applications can be extended to various domains, such as movie recommendations on Netflix, career guidance platforms, and AI-driven personalized learning systems. This research demonstrates that deep learning-based personality prediction models using BERT provide accurate and meaningful recommendations. Future work involves further semantic integration, cross-domain applications, and expanding the model to multilingual personality analysis to improve recommendation diversity and accuracy. | en_US |
| dc.language.iso | en | en_US |
| dc.publisher | Computer Sciences | en_US |
| dc.relation.ispartofseries | MS (DS);T-946 | |
| dc.subject | Recommendation System | en_US |
| dc.subject | Using Personalized | en_US |
| dc.subject | Chat-Bot | en_US |
| dc.title | Recommendation System Using Personalized Chat-Bot | en_US |
| dc.type | MS Thesis | en_US |