Description Usage Arguments Value Note
Compute the correlation of a given cue's similarity vectors for two embedding models
1 2 3 4 5 6 7 8 | corr_embeds(
embeds1,
embeds2,
cue,
type = "pearson",
method = "cosine",
norm = "l2"
)
|
embeds1 |
embeddings model 1 (V by D matrix) |
embeds2 |
embeddings model 2 (V by D matrix) |
cue |
cue word for which the correlation will be computed |
type |
|
method |
a |
norm |
a |
a numeric value between -1 and 1
embedding models will be subsetted to common vocabulary
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.