How to calculate the maximum cosine similarity between a user's reviews in spark? (python)

前端 未结 0 469
有刺的猬
有刺的猬 2020-12-07 16:25

I have a spark data frame with one column is user_id, another column is review_text.

I want to return the third column "maximum_cosine_similarity", which is

相关标签:
回答
  • 消灭零回复
提交回复
热议问题