import math


def cos_sim_numpy(vector1, vector2):
    """Implement cosine similarity in the range between [-1, 1]

    Args
    ----
      vector1: Vector 1
      vector2: Vector 2

    Returns
    -------
      numerator / denominator : cosine similarity of two vectors


    """
    numerator = sum(vector1 * vector2)
    denominator = math.sqrt(sum(vector1**2) * sum(vector2**2))
    return numerator/denominator