code: def _labeled_uniform_sample(self, sample_size):
          
          labeled_entries = self.dataset.get_labeled_entries()
          samples = [labeled_entries[
              self.random_state_.randint(0, len(labeled_entries))
          ]for _ in range(sample_size)]
          return Dataset(*zip(*samples))
docs: sample labeled entries uniformly