Risk prediction with machine learning and regression methods