Applications of machine learning in asset pricing, prediction of extreme returns and implied volatility surface