Machine Learning, Deep Learning, Artificial Intelligence, AI, Neural Networks.
lambd=0.02) print("The training accuracy rate: {}".format(accuracy(X_train, parameters, Y_train, "tanh")[-7:])) print("The test accuracy rate: {}".format(accuracy(X_test, parameters, Y_test, "tanh")[-7:])) The cost after 100 iterations: 0.6558634554205135 The cost after 200 iterations: