get_weights | R Documentation |
Weight for item or user (based on 'is_item') for all in 'arr'
get_weights(object, arr, is_item = TRUE, convert = FALSE)
object |
extract weights |
arr |
R data frame |
is_item |
logical, is item |
convert |
to R matrix |
tensor
## Not run:
movie_w = learn %>% get_weights(top_movies, is_item = TRUE, convert = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.