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
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
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.