Dijous 11 de juny, el Dipòsit Digital no estarà operatiu de 15:00 a 17:00 h per tasques de manteniment. Disculpeu les molèsties.
El jueves 11 de Junio, el Dipòsit Digital no estará operativo de 15:00 a 17:00 h debido a tareas de mantenimiento. Disculpen las molestias.
Thursday, Jun 11th, the Digital Repository will be unavailable due to a system update.

Document type

Bachelor thesis

Publication date

Publication license

cc-by-nc-nd (c) Núria López Raich, 2022
Please use this identifier to cite or link to this item: https://hdl.handle.net/2445/191161

Study of different models for sentiment analysis and language representation

Journal Title

Journal ISSN

Volume Title

Related resource

Abstract

[en] In this project we study three different models of artificial intelligence to carry out the process of sentiment analysis, which consists of determining the polarity of a text; that is, detecting whether it is positive, negative or neutral. The first model studied is a neural network, specifically a long short-term memory, which uses deep learning techniques. We delve deeper into the study of its structure and operation, unmasking all the mathematics behind it. The other two models belong to machine learning: logistic regression and Naive Bayes. We emphasize the study of its parameters and optimization, with the intention to understand the learning process of each one. Finally, we apply the results and techniques developed to implement a Python program with each model in order to detect the sentiment of thousands of reviews from social media of different bars and restaurants. We dedicate a whole chapter to give the results, the analysis of each one and a comparison between them.

Description

Treballs Finals de Grau de Matemàtiques, Facultat de Matemàtiques, Universitat de Barcelona, Any: 2022, Director: Josep Vives i Santa Eulàlia i Jordi Vitrià i Marca

Citation

Citation

LÓPEZ RAICH, Núria. Study of different models for sentiment analysis and language representation. [consulted: 10 of June of 2026]. Available at: https://hdl.handle.net/2445/191161

Export metadata

JSON - METS

Share record