Bias for item or user (based on `is_item`) for all in `arr`

get_bias(object, arr, is_item = TRUE, convert = TRUE)

Arguments

object

extract bias

arr

R data frame

is_item

logical, is item

convert

to R matrix

Value

tensor

Examples


if (FALSE) {

movie_bias = learn %>% get_bias(top_movies, is_item = TRUE)

}