How do you train machines to identify emotions? This is a tutorial for sentiment analysis of Amazon product reviews using machine learning algorithms.