Fig. 2. Neural network notation example: (a) a simple neural network structure, (b) its corresponding notation with example weights, and (c) equivalent computer code. The network inputs are the two variables X1 and X2. The final output is from the C node as indicated by the
symbol (C_out in the computer code).