Giter Site home page Giter Site logo

Comments (4)

juliasilge avatar juliasilge commented on August 22, 2024

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.

rizwaan avatar rizwaan commented on August 22, 2024

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.

chankamiperera avatar chankamiperera commented on August 22, 2024

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.

juliasilge avatar juliasilge commented on August 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.