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
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.