I am trying to understand the notation used in this famous tutorial
http://ufldl.stanford.edu/wiki/index.php/Neural_Networks
On the very first line, the $i$ in $(x^{(i)},y^{(i)})$ is used to indicate the training example, i.e. the sample index, the time frame (correct me if I am wrong) for the input and output data. In the following lines, $x_i$ is used as the neuron index. This is a bit confusing, I am not sure if the two indices actually refer to the same thing.
This is also used in this other page on the softmax classifier, where the $x_i$ notation is dropped and $x^{(i)}$ is used instead: http://ufldl.stanford.edu/wiki/index.php/Softmax_Regression
My question is: what is the difference between $x^{(i)}$ and $x_i$? In other words, is the notation used here confusing or is actually accurate?