1

I have two vectors of words, for ex:

  v1 = ["today", "rainy", "weather", "storm"]
  v2 = ["prediction", "sunny", "high", "temperature"]

I would like to compute the Kulback Leibler divergence between these two vectors. How can I do that in Python? Thank you!

Crista23
  • 3,203
  • 9
  • 47
  • 60

0 Answers0