code: def altersingle(self, alpha, i, b, g, r):
          
          n = self.network[i]  # Alter hit neuron
          n[0] -= (alpha * (n[0] - b))
          n[1] -= (alpha * (n[1] - g))
          n[2] -= (alpha * (n[2] - r))
docs: Move neuron i towards biased (b,g,r) by factor alpha