Return normalized vector in a word-context or term-document matrix
1 | normalize(x, margin = 1)
|
margin |
The direction of comparison. If "1", normalization will be computed for a row. If "2", normalization will be computed over a column. |
mat |
A word-context matrix |
term |
The word you are evaluating |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.