Comments (4)
I believe this is an error from the XML package downloading the finance data; sounds like R is not successfully accessing that data. You might need to do some debugging around accessing the internet through R? Also perhaps try just doing a few of the companies; I have heard some people have trouble with all of those, especially Twitter and IBM.
If it makes you feel better, someone else also got this error when trying to run the code from the book.
from tidy-text-mining.
Looks like there is some sort of limitation on the corpus's dimension.
The code works if there are only 5 elements in the company vector. Couldnt investigate any further though.
from tidy-text-mining.
hi,
when I try the code mention in topic modeling part. I got a error mention like this.
Error in LDA(dtm, k, method = "Gibbs", control = list(nstart = nstart, :
Each row of the input matrix needs to contain at least one non-zero entry
Please help me to fix it.
Thank you.
from tidy-text-mining.
Hello @chankamiperera! I don't think you are using code from our book, because I don't believe we have any Gibbs method fitting at all. If you are running into an error that we might be able to help with, can you make a small, reproducible example to show the error? You also might consider posting your problem on Stack Overflow, because the function LDA()
is from the topicmodels package, not our tidytext package, so you might get faster help (or at least help from more people) there. I have SO questions tagged tidytext
on a feed so I will always see them.
from tidy-text-mining.
Related Issues (20)
- preprocessing omission in sample code 6.2 for "The War of the Worlds" HOT 4
- different output for cor.test() in 1.5 HOT 3
- Wrong explanation of Fig. 3.1. HOT 3
- Chapter 1 missing introduction on getting self-generated texts into R HOT 2
- Error in Section 1.5 - gutenbergr Package
- Removing stop words-> which ones have I removed? HOT 2
- Topic labeling with Mutual Information HOT 2
- Comparing word frequencies 3 ways HOT 2
- Update for new tidyr HOT 1
- Broken code 9.1 HOT 4
- Version of Pride & Prejudice from Project Gutenberg has "Chapter" issues HOT 1
- Avoid adding columns with other functions HOT 1
- Evolve facets from traditional tilde notation to vars() HOT 1
- 9.1 Preprocessing Error HOT 2
- Replace superseded top_n with slice_min/slice_max
- Feature Request: Images of the data you are working with throughout the book HOT 2
- possible error with beginning of 'Case study: analyzing usenet text' HOT 2
- qualitative research HOT 2
- Question about grouping text for pairwise cor and tf idf HOT 2
- tm.plugin.webminin is no longer working for Chapter 5.3.1 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tidy-text-mining.