code: def teach_students(self):
          
          dataset = self.dataset
          for student in self.students:
              bag = self._labeled_uniform_sample(int(dataset.len_labeled()))
              while bag.get_num_of_labels() != dataset.get_num_of_labels():
                  bag = self._labeled_uniform_sample(int(dataset.len_labeled()))
                  LOGGER.warning('There is student receiving only one label,'
                                 're-sample the bag.')
              student.train(bag)
docs: Train each model (student) with the labeled data using bootstrap
          aggregating (bagging).