A Machine-Learning Approach to the Detection of Fetal Hypoxia during Labor and Delivery