It is jaccard similarity https://en.wikipedia.org/wiki/Jaccard_index
Also I described it a bit more here: https://www.reddit.com/r/MachineLearning/comments/aek3yk/p_l...
Also I described it a bit more here: https://www.reddit.com/r/MachineLearning/comments/aek3yk/p_l...