def distance(self, vec1, vec2):
    super(ConsineDistance, self).distance(vec1, vec2)      #super method
    num = np.dot(vec1, vec2)
    denom = linalg.norm(vec1) * linalg.norm(vec2)
    if num == 0:
      return 1
    return - num / denom
#end ConsineDistance
:reference: https://dev.twitter.com/rest/reference/post/saved_searches/create
dataset/ETHPy150Open jasonwbw/DensityPeakCluster/distance/distance.py/ConsineDistance.distance--crossover with--dataset/ETHPy150Open tweepy/tweepy/tweepy/api.py/API.create_saved_search