search for: simple_triplet_matrix

Displaying 7 results from an estimated 7 matches for "simple_triplet_matrix".

2010 Oct 11
2
topicmodels error
I try to fit a LDA model to a TermDocumentMatrix with the topicmodels package... but R says: > Error in LDA(TDM, k = k, method = "Gibbs", control = list(seed = SEED, : > x is of class ?TermDocumentMatrix??simple_triplet_matrix? > class(TDM) > [1] "TermDocumentMatrix" "simple_triplet_matrix" I try to use a matrix... but don't work: > MAT <- as.matrix(TDM) > Error in LDA(MAT, k = k, method = "Gibbs", control = list(seed = SEED, : > x is of class ?matrix? The help...
2014 Jul 25
3
wordcloud y tabla de palabras
..... ..$ ncol : int 1 .. ..$ dimnames:List of 2 .. .. ..$ Terms: [1:1540] "070812" "100" "100000" "117735" ... .. .. ..$ Docs : "2013_21SeguridadCiudadana.txt" .. ..- attr(*, "class")= [1:2] "TermDocumentMatrix" "simple_triplet_matrix" .. ..- attr(*, "weighting")= [1:2] "term frequency" "tf" $ :List of 2 ..$ name: "2005" ..$ tdm :List of 6 .. ..$ i : int [1:1849] 1 2 3 4 5 6 7 8 9 10 ... .. ..$ j : int [1:1849] 1 1 1 1 1 1 1 1 1 1 ... .. ..$ v : num [1...
2014 Jul 28
2
wordcloud y tabla de palabras
...names:List of 2 > > .. .. ..$ Terms: [1:1540] "070812" "100" "100000" "117735" ... > > .. .. ..$ Docs : "2013_21SeguridadCiudadana.txt" > > .. ..- attr(*, "class")= [1:2] "TermDocumentMatrix" > "simple_triplet_matrix" > > .. ..- attr(*, "weighting")= [1:2] "term frequency" "tf" > > $ :List of 2 > > ..$ name: "2005" > > ..$ tdm :List of 6 > > .. ..$ i : int [1:1849] 1 2 3 4 5 6 7 8 9 10 ... > > .. ..$ j : in...
2011 May 11
1
filtering out unwanted words in a Term Document Matrix
...quot;, "prisoner", "corporate", "lockout", "disposition", "discharge", "reason")) I get the following error: "no applicable method for 'tm_intersect' applied to an object of class "c('TermDocumentMatrix', 'simple_triplet_matrix')" " What am I doing wrong? I'd greatly appreciate any ideas or thoughts on this!!!! Thank you!! Thomas Heiman, PhD Info Systems Eng, Sr The MITRE Corporation | Center for Enterprise Modernization Office: 703-983-2951 | theiman@mitre.org<mailto:theiman@mitre.org> [[alt...
2014 Jul 29
2
wordcloud y tabla de palabras [Avanzando]
...ms: [1:1540] "070812" "100" "100000" "117735" ... >>>> > .. .. ..$ Docs : "2013_21SeguridadCiudadana.txt" >>>> > .. ..- attr(*, "class")= [1:2] "TermDocumentMatrix" >>>> > "simple_triplet_matrix" >>>> > .. ..- attr(*, "weighting")= [1:2] "term frequency" "tf" >>>> > $ :List of 2 >>>> > ..$ name: "2005" >>>> > ..$ tdm :List of 6 >>>> > .. ..$ i : int [1:18...
2011 Sep 13
1
SVD Memory Issue
...5677 $ dimnames:List of 2 ..$ Terms: chr [1:771] "access" "accessori" "accumul" "acoust" ... ..$ Docs : chr [1:5677] "1" "2" "3" "4" ... - attr(*, "class")= chr [1:2] "TermDocumentMatrix" "simple_triplet_matrix" - attr(*, "Weighting")= chr [1:2] "term frequency" "tf" SVD is calcualted using: > tdm_matrix <- as.matrix(tdm2) > svd_out<-svd(tdm_matrix) Error: cannot allocate vector of size 767.7 Mb In addition: Warning messages: 1: In matrix(0, n, np) : Re...
2011 Sep 12
1
findFreqTerms vs minDocFreq in Package 'tm'
...ol : int 5677 $ dimnames:List of 2 ..$ Terms: chr [1:659] "\024" "\026" "ac" "access" ... ..$ Docs : chr [1:5677] "1" "2" "3" "4" ... - attr(*, "class")= chr [1:2] "TermDocumentMatrix" "simple_triplet_matrix" - attr(*, "Weighting")= chr [1:2] "term frequency" "tf" Thank you. Ravi -- View this message in context: http://r.789695.n4.nabble.com/findFreqTerms-vs-minDocFreq-in-Package-tm-tp3806644p3806644.html Sent from the R help mailing list archive at Nabble.com.