Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

get_weights

Get weights


Description

Weight for item or user (based on 'is_item') for all in 'arr'

Usage

get_weights(object, arr, is_item = TRUE, convert = FALSE)

Arguments

object

extract weights

arr

R data frame

is_item

logical, is item

convert

to R matrix

Value

tensor

Examples

## Not run: 

movie_w = learn %>% get_weights(top_movies, is_item = TRUE, convert = TRUE)


## End(Not run)

fastai

Interface to 'fastai'

v2.0.7
Apache License 2.0
Authors
Turgut Abdullayev [ctb, cre, cph, aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.