製作顧客產品矩陣其實很快、也很容易. library(Matrix) library(slam) cpm = xtabs(~ cust + prod, Z, sparse=T) # customer product matrix dim(cpm) ...
確定! 回上一頁