Machine learning applications in finance: some case studies