get_bias: Get bias

Description Usage Arguments Value Examples

View source: R/collab.R

Description

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

Usage

1
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

1
2
3
4
5
6
## Not run: 

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


## End(Not run)

fastai documentation built on Oct. 25, 2021, 5:08 p.m.