Description Usage Arguments Value Examples
The thin function extracts the rows of a matrix evenly so that roughly n number of rows remain. Used for thinning down the weight matrix to speed up overall computation.
1 | thin(W, n = 100)
|
W |
matrix |
n |
rough number of rows to keep |
matrix
of thinned matrix keeping only roughly n rows.
1 2 | W = weightMatrix(500)
W_small = thin(W, n = 100)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.