logistic_regression_with_a_neural_network_mindset_v6a solution code example
Example 1: Logistic Regression with a Neural Network mindset python example
print ("sigmoid([0, 2]) = " + str(sigmoid(np.array([0,2]))))
Example 2: Logistic Regression with a Neural Network mindset python example
dim = 2
w, b = initialize_with_zeros(dim)
print ("w = " + str(w))
print ("b = " + str(b))