Function cosine

  • Returns the average of cosine distances between vectors a and b

    Parameters

    • a: NumberArray

      first vector

    • b: NumberArray

      second vector

    Returns number