Hands On: Data from Hell

In this chapter’s source directory you can find an additional dataset named circles.txt. Edit the plot_data.py file so that it loads this dataset, and run it to take a look at the data. Spoiler alert: circles.txt is about as non-linearly separable as they get.

Edit plot_perceptron_boundary.py to load circles.txt and run it. What does the perceptron’s boundary look like? Do the same with plot_neural_network_boundary.py and plot_neural_network_model.py. How does the neural network fare on these data?

Footnotes

[20]

https://www.progml.com