Sentiment Analysis in Social Networks: A Machine Learning Perspective