Graphing question in Week 2 Assignment Exercise 6


In part 6 of the assignment, I am trying to understand how the graph for “moons” dataset is plotted when train_X and train_Y is called from load_dataset. I am unable to duplicate the plotting using the train_X and train_Y dataset. Even though this is not a graded section, I would appreciate if anyone could explain.


On a jupyter code cell, execute ??load_dataset to view the source code.