row_entropies | R Documentation |
Given a sparse matrix in which each row is a discrete probability distribution over the index, takes the entropy -∑_j x_j \log_2 x_j row-wise (considering only non-zero entries).
row_entropies(m)
m |
sparse |
ordinary vector of entropies.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.