Neural network modeling of time-dependent event probabilities for health outcome prediction