code: def RMSError(self):
          
          tss = 0.0
          size = 0
          for layer in self.layers:
              if layer.type == 'Output':
                  tss += layer.TSSError()
                  size += layer.size
          return math.sqrt( tss / size )
docs: Returns Root Mean Squared Error for all output layers in this network.