get_bias: Get bias

View source: R/collab.R

get_biasR Documentation

Get bias

Description

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

Usage

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


## Not run: 

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


## End(Not run)


fastai documentation built on March 21, 2022, 9:07 a.m.