Description Usage Arguments Value
The benchmarking strategy leverages previously published ‘known’ relationships between medicalconcepts.
We compare how similar the embeddings for a pair of concepts are by computing the
cosine similarity of their corresponding vectors,
and use this similarity to assess whether or not thetwo concepts are related.
link{benchmark_similarity}
reports the spearman correlation between the human assessment scores
and cosine similarity from the embeddings.
1 | benchmark_similarity(embedding_df)
|
embedding_df |
The embedding dataframe |
Dataframe of relatedness
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.