Applying machine learning in capital markets: Pricing, valuation adjustments, and market risk