Study: Machine learning can predict market behavior