Machine learning and deep learning for financial data analysis