This technology is a deep learning algorithm that uses ultrasound imaging data to extract cervix geometry and predict preterm birth (PTB) risk. The Technology: Deep-learning algorithm to accurately predict preterm birth from transvaginal ultrasound images. This technology uses machine learning to automatically detect and label cervical physiological features from TVUS images of patients in the 2nd and 3rd trimesters of pregnancy, records PTB markers and other important cervical and lower uterine features, combines additional patient data from electronic medical records with TVUS sonograms, and applies deep learning models to predict PTB risk.