Predictive algorithms for early detection of retinopathy of prematurity