Fourth Neuron in the hidden layer

In [31]:
fig = plt.figure(figsize=(10, 5))
ax = plt.axes(projection='3d')
bar4 = ax.scatter3D(xs=result[:, 0], ys=result[:, 1], zs=out14.reshape(-1), c= out14.reshape(-1), cmap=cm.coolwarm);
ax.set_xlabel('x')
ax.set_ylabel('y')
ax.set_zlabel('z')

# we use view_init in changing the viewing angle
ax.view_init(50, 320)

ax.set_title('3D visualization of our neural network output layer')
Out[31]:
Text(0.5,0.92,'3D visualization of our neural network output layer')