conjugateprior / austin Goto Github PK
View Code? Open in Web Editor NEWDo things with words. Scale them, mostly.
Home Page: https://conjugateprior.github.io/austin
License: GNU Affero General Public License v3.0
Do things with words. Scale them, mostly.
Home Page: https://conjugateprior.github.io/austin
License: GNU Affero General Public License v3.0
When importing a documents of 40'000 row, the system crash when running wordfish.
Error: vector memory exhausted (limit reached?)
I have a 2x900 csv with doc_id and text and try to run wordfish on it to see if I can identify some specific term.
# Load data
data = read.csv("all.mbox.csv", stringsAsFactors = FALSE)
meta = read.csv("all.mbox.meta.csv", stringsAsFactors = FALSE)
mycorpus = Corpus(DataframeSource(data))
# Prepare data
mycorpus = tm_map(mycorpus, content_transformer(tolower))
mycorpus = tm_map(mycorpus, removeWords, stopwords("english"))
mycorpus = tm_map(mycorpus, stemDocument)
mycorpus = tm_map(mycorpus, removePunctuation)
mycorpus = tm_map(mycorpus, removeNumbers)
# Make a document term matrix
dtm = DocumentTermMatrix(mycorpus)
# remove rare words
dtm = removeSparseTerms(dtm, sparse = 0.4)
inspect(dtm)
# Run word fish
dtm$dimnames$Docs
wfm = as.wfm(dtm)
wf = wordfish(wfm, dir=c(2, 34), control = list(tol = .00003))
I run in this error with the last line:
Error in svd(ystarm, nu = 1) : infinite or missing values in 'x'
Hi. I am trying to install "austin" package to R 3.4.2, but I receive the following message:
Warning in install.packages :
package ‘austin’ is not available (for R version 3.4.2)
Is the package available only on very old versions of R?
I think it is not given the recent postings on this git hub.
Can you please help me with this problem shooting?
Thank you!
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.