plt.figure(figsize =(12,8))
# First neuron, input layer
plt.subplot(241)
plt.title('First neuron hidden layer 1')
plt.scatter(result[:, 0], result[:, 1], c= out11.reshape(-1), cmap=cm.coolwarm)
# Second neuron, input layer
plt.subplot(242)
plt.title('Second neuron hidden layer 1')
plt.scatter(result[:, 0], result[:, 1], c= out12.reshape(-1), cmap=cm.coolwarm)
# Third neuron, input layer
plt.subplot(243)
plt.title('Third neuron hidden layer 1')
plt.scatter(result[:, 0], result[:, 1], c= out13.reshape(-1), cmap=cm.coolwarm)
# Fourth neuron, input layer
plt.subplot(244)
plt.title('Fourth neuron hidden layer 1')
plt.scatter(result[:, 0], result[:, 1], c= out14.reshape(-1), cmap=cm.coolwarm)
# Fifth neuron, input layer
plt.subplot(245)
plt.title('Fifth neuron hidden layer 1')
plt.scatter(result[:, 0], result[:, 1], c= out15.reshape(-1), cmap=cm.coolwarm)
# Sixth neuron, input layer
plt.subplot(246)
plt.title('Sixth neuron hidden layer 1')
plt.scatter(result[:, 0], result[:, 1], c= out16.reshape(-1), cmap=cm.coolwarm)
# Seventh neuron, input layer
plt.subplot(247)
plt.title('Seventh neuron hidden layer 1')
plt.scatter(result[:, 0], result[:, 1], c= out17.reshape(-1), cmap=cm.coolwarm)
# Eight neuron, input layer
plt.subplot(248)
plt.title('Eight neuron hidden layer 1')
plt.scatter(result[:, 0], result[:, 1], c= out18.reshape(-1), cmap=cm.coolwarm)