kshirley / ldatools Goto Github PK
View Code? Open in Web Editor NEWR package to fit LDA topic models (deprecated)
License: MIT License
R package to fit LDA topic models (deprecated)
License: MIT License
I am working in windows 8.1 (64) with R version 3.1.1 (2014-07-10). Tried to install your package but got this message:
Aviso: comando ejecutado 'make -f "C:/PROGRA1/R/R-311.1/etc/i386/Makeconf" -f "C:/PROGRA1/R/R-311.1/share/make/winshlib.mk" SHLIB="LDAtools.dll" OBJECTS="lda.o ldapredict.o minperplex.o"' tiene estatus 127
ERROR: compilation failed for package 'LDAtools'
For some reason the bar chart axis ticks don't show up as well on Chrome as they do on Firefox. This has to be a CSS issue somewhere in topicz.css
Missing , s in preprocess.R, had to add trailing , in order to resolve the issue after forking repository. Install is currently failing otherwise.
cat(paste0("\n", sum(category == -1), " additional documents removed ",
"because they consisted entirely of punctuation or rare ",
"terms that are not in the vocabulary."))
Using the example from the getProbs
help page gives an error:
data(APinput)
data(APtopics)
probs <- getProbs(word.id=APinput$word.id, doc.id=APinput$doc.id, topic.id=APtopics$topics, vocab=APinput$vocab)
Error in matrix(0, K, W) : invalid 'nrow' value (too large or NA)
However, it seems to be easily fixed by:
probs <- getProbs(word.id=APinput$word.id, doc.id=APinput$doc.id, topic.id=APtopics$topics, vocab=APinput$vocab, K=max(APtopics$topics))
This K argument is currently not documented, so I'm not what the intentions are for adding it. It seems to me that it really isn't needed since we could just compute the number of topics from the value of topic.id
. Am I missing something here?
I think we should add an option to the shiny UI that allows the user to choose how to reorder topics. The value would be passed along to the sort.topics
option in getProbs
.
install.packages("reshape")
install.packages("proxy")
by the way, nice project!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.