Week3 assignment plot_decision_boundary

You can find the source code for the function plot_decision_boundary by clicking “File → Open” and then opening the file planar_utils.py. The way to have figured that out would be to examine the “import” cell early in the notebook. There is a topic about how to view utility functions on the DLS FAQ Thread.

Also note that the invocation of that function passed a python “lambda function” as the first argument. You can pass references to functions as parameters to a python function. Google “python lambda function” to learn more about how those work.

1 Like