Deep learning for efficient frontier calculation in finance