code: def EnsembleLearner(learners):
      
      def train(dataset):
          predictors = [learner(dataset) for learner in learners]
          def predict(example):
              return mode(predictor(example) for predictor in predictors)
          return predict
      return train
docs: Given a list of learning algorithms, have them vote.