Visualizing an array in a scatterplot

The goal of the neural network that will be developed in this chapter is to predict the gender of an individual if the height and weight are known. A powerful method for understanding the relationship between height, weight, and gender is by visualizing the data points feeding the neural network. This can be done with the popular Python visualization library matplotlib.