W4_A2_predict() in NN

Hi there,

I was wondering where we get the predict() in the following lines:
predictions_train = predict(train_x, train_y, parameters)
predictions_test = predict(test_x, test_y, parameters)

Thanks

predict() is a function. It’s part of the notebook.
You can find it via the File menu, by opening the “dnn_app_utils_v3.py” file.