There appears to be an issue when providing the Winit argument to the nmf() function. This results in the following error:
Error: Not a matrix.
Minimal reproducible example:
library(RcppPlanc)
X <- matrix(seq(1000 * 100), nrow = 1000, ncol = 100)
res1 <- nmf(X, k = 10, algo = "admm")
# Attempt to reuse W from the previous run
res2 <- nmf(X, k = 10, algo = "admm", Winit = res1$W)
# Error: Not a matrix.
Environment:
Package version: RcppPlanc 2.0.10
R version: 4.4.1
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4