code: def infer_transportation_mode(self, clf, min_time):
          
          self.transportation_modes = speed_clustering(clf, self.points, min_time)
          return self
docs: In-place transportation mode inferring
  
          See infer_transportation_mode function
  
          Args:
          Returns:
              :obj:`Segment`: self