Stock market prediction based on machine learning and social sentiment analysis