[ValidateApp | INFO] Validating ‘/home/jovyan/work/submitted/courseraLearner/W2A2/Logistic_Regression_with_a_Neural_Network_mindset.ipynb’
[ValidateApp | INFO] Executing notebook with kernel: python3
Tests failed on 2 cell(s)! These tests could be hidden. Please check your submission.
The following cell failed:
params, grads, costs = optimize(w, b, X, Y, num_iterations=100, learning_rate=0.009...
print ("w = " + str(params["w"]))
print ("b = " + str(params["b"]))
print ("dw = " + str(grads["dw"]))
print ("db = " + str(grads["db"]))
print("Costs = " + str(costs))
optimize_test(optimize)
The error was:
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
<ipython-input-16-3483159b4470> in <module>
----> 1 params, grads, costs = optimize(w, b, X, Y, num_iterations=100, learning_ra...
2
3 print ("w = " + str(params["w"]))
4 print ("b = " + str(params["b"]))
5 print ("dw = " + str(grads["dw"]))
NameError: name 'optimize' is not defined
==========================================================================================
The following cell failed:
from public_tests import *
model_test(model)
The error was:
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
<ipython-input-20-9408a3dffbf6> in <module>
1 from public_tests import *
2
----> 3 model_test(model)
NameError: name 'model' is not defined