In [21]:
# first neuron, output layer
plt.title('First neuron, output layer')
plt.scatter(result[:, 0], result[:, 1], c= out31.reshape(-1), cmap=cm.coolwarm)
Out[21]:
<matplotlib.collections.PathCollection at 0x22c43599470>