Skip to content

Developed and compared the performance of different machine/deep learning models in predicting the sentiment of hotel and B&B reviews.

Notifications You must be signed in to change notification settings

mingolladaniele/sentiment_analysis_performances_comparison

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Application of Machine/Deep learning models for sentiment analysis on hotel reviews

The goal of this thesis is to analyze the performance of different machine learning and deep learning models in predicting sentiment related to hotel and b&b reviews near Pisa (Italy). The models tested were the following: SVM, Random Forest, Logistic Regression, CNN, LSTM.

Results

MODEL PRECISION RECALL F-SCORE
SVM 0.92 0.91 0.92
RANDOM FOREST 0.70 0.73 0.71
LOGISTIC REGRESSION 0.76 0.73 0.73
CNN 0.82 0.82 0.82
LSTM 0.80 0.79 0.79

Conclusion

At the end of the project, it was shown that the use of more complex models does not always guarantee better performance than the use of classical predictive models. In this specific case, the SVM model performed 15% better than the results obtained by applying neural networks.

License

MIT License

About

Developed and compared the performance of different machine/deep learning models in predicting the sentiment of hotel and B&B reviews.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%