Nonparametric methods for integration of survival analysis and machine learning