Estadísticas de Analysis of ultrasound images and clinical data in two clinical scenarios: prediction of failure of induction of labor and risk of preterm delivery