code: def _setLearningMode(self, l4Learning = False, l2Learning=False):
      
      for column in self.L4Columns:
        column.setParameter("learn", 0, l4Learning)
      for column in self.L2Columns:
        column.setParameter("learningMode", 0, l2Learning)
docs: Sets the learning mode for L4 and L2.