Git Product home page Git Product logo

Comments (9)

cschwem2er avatar cschwem2er commented on August 20, 2024

Hi,
is this currently in development? I'd love to combine tidytext and stm for teaching in mid October and a tidier function would be most useful for this.

from tidytext.

juliasilge avatar juliasilge commented on August 20, 2024

I worked on this some today and it is almost good to go! Should be ready very shortly, in time for your course.

from tidytext.

cschwem2er avatar cschwem2er commented on August 20, 2024

that's awesome, thank you so much for this :)

from tidytext.

juliasilge avatar juliasilge commented on August 20, 2024

@methodds Got this finished up this evening. Give it a go and please let us know if you run into any problems!

from tidytext.

cschwem2er avatar cschwem2er commented on August 20, 2024

Hi,
I just tested the latest version and it works without any issues, again thank you so much for implementing this! :)

There's only one suggestion that I have for your example in stm_tidiers: STM offers the spectral method for model initialization which, unlike the usual initialization for LDA models, is deterministic (more details on that in the STM vignette). The spectral method is highly recommended by the STM authors.
For this reason I think you should remove the seed, set.seed(2016) and just slightly adjust the stm call to topic_model <- stm(inaug, K = 3, verbose = FALSE, init.type = 'Spectral').

from tidytext.

cschwem2er avatar cschwem2er commented on August 20, 2024

Sorry just another quick question related to this: Do you have a time schedule for the next CRAN release? I dunno about other countries, but university courses in Germany start mid/end October and getting devtools to run in our labs is a real pain.

from tidytext.

juliasilge avatar juliasilge commented on August 20, 2024

@methodds I will see what we can do about a quick-ish CRAN release! I'd like to get the tidyeval stuff all worked out for all the functions.

from tidytext.

juliasilge avatar juliasilge commented on August 20, 2024

@methodds Just a heads up that the version of tidytext with stm tidiers is on CRAN now.

from tidytext.

github-actions avatar github-actions commented on August 20, 2024

This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.

from tidytext.

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.