C1_W3_Logistic_Regression- Predict function

Can anyone help me how to write the predict function? i can’t see any reference in the previous labs of the course.

Instructions for the predict() function are in Section 2.8 (Exercise 4) in the assignment notebook.

There is a complete set of programming hints below the cell with the predict() code template.