I have Jaccard score in comparing two strings to check the similarity/Dissimlarity using R.
I tried to replicate the same in SAS but couldn't achieve it.
Can you please let me know if there is function/way to get jaccard score in SAS for
comparing two strings "Krishna" and "Krishna Reddy"
I tried to replicate in SAS with proc distance but no luck.
in R
library(stringdist)
stringdist('krishna', 'krishna reddy', method='jaccard')
result is 0.3636
Specifically looking for Jaccard distance only.
Appreciate any help!
What is the meaning of the Jaccard distance between strings in R? Is it based on the presence/absence of letters, words, sounds, in the strings?
SAS has many specialized functions for computing the distance between strings: COMPGED, COMPLEV, SOUNDEX, SPEDIS, as well as CALL COMPCOST.
Hi Krishnam,
I've moved your post to the Text Analytics Community so that more experts may be able to help out.
Anna
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
Use this tutorial as a handy guide to weigh the pros and cons of these commonly used machine learning algorithms.
Find more tutorials on the SAS Users YouTube channel.