powered by
The data is used for confirming the algorithm are properly working.
toyModel(model = "CP", seeds=123)
If model is specified as "NMF", a matrix is generated. Otherwise, a tensor is generated.
Single character string is specified. "NMF", "CP", and "Tucker" are available (Default: "CP").
Random number for setting set.seeds in the function (Default: 123).
Koki Tsuyuzaki
NMF, NTF, NTD
NMF
NTF
NTD
matdata <- toyModel(model = "NMF", seeds=123) tensordata1 <- toyModel(model = "CP", seeds=123) tensordata2 <- toyModel(model = "Tucker", seeds=123)
Run the code above in your browser using DataLab