I cannot find an appropriate function for “predictions” in this exercise.

Use forward_propagation() to predict the values.

Then use a logical comparison to compute true/false.

you can use,

predictions = A2 > 0.5

I cannot find an appropriate function for “predictions” in this exercise.

Then use a logical comparison to compute true/false.

you can use,

predictions = A2 > 0.5