userProductHitsToMatrix: Turns interactions data table into a matrix

Description Usage Arguments Value

Description

Turns interactions data table into a matrix

Usage

1

Arguments

product.hits

data.table with columns: visitor.id, product attribute

Value

Returns sparse matrix for interactions between products within user sessions, meaning number of visitors that viewed/bought products together.


byapparov/recommender documentation built on May 13, 2019, 9:54 a.m.