You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
convert(x, to = "stm") fails when dfm is 0% sparse #701
convert(as.dfm(matrix(c(1, 2, 3, 4, 5, 6, 7, 8, 9), ncol=3)), to="stm")
# $documents# 1 2 3# [1,] 1 1 1# [2,] 1 2 3# [3,] 2 2 2# [4,] 4 5 6# [5,] 3 3 3# [6,] 7 8 9# attr(,"names")# [1] "doc1" "doc2" "doc3" NA NA NA NA NA NA NA NA NA NA # [14] NA NA NA NA NA ## $vocab# [1] "feat1" "feat2" "feat3"## $meta# NULL
Activity
Fix issue #701: works now when dfm is 0% sparse
Add test for converting to stm when dfm is 0% sparse (issue #701)
Merge pull request #717 from kbenoit/fix-701