title: Python Map apply same function name but different functions
body: <p>So I want to apply a function to values using <code>map</code> where each function is dependent upon the value.</p>
  <p>For example, in my problem, I have a list of objects where each have their own personalized function called <code>predict</code> and I want to apply each of these functions to the same input. How would I do this using <code>map</code>?</p>
  <p>More specifically, I have different model objects where each model has their own specialized predict function that is not similar to the rest. For this list of different model objects, I want to apply their predict function to the same data set.</p>
  <p>Simple Example:</p>
  <pre><code>class Model1:
  
      def predict(self, value):
          return value ** 1
  
  class Model2:
  
      def predict(self, value):
          return value ** 2 + value / 3
  
  class Model3:
  
      def predict(self, value):
          return value ** 3 * value
  
  m1 = Model1
  m2 = Model2
  m3 = Model3
  models = [m1, m2, m3]
  data = [1,3,2,34]
  result = map(models.predict, data) # how to do this step??
  </code></pre>
  <p>NOTE: I want to do this with the map function, I know how to do this without.</p>