juliasilge.com
juliasilge.com copied to clipboard
Topic modeling for #TidyTuesday Taylor Swift lyrics | Julia Silge
Topic modeling for #TidyTuesday Taylor Swift lyrics | Julia Silge
A data science blog
Am getting an error message
tidy(topic_model, matrix = "lift") Error in UseMethod("tidy") : no applicable method for 'tidy' applied to an object of class "STM"
@AlinneVeiga you'll need to make sure that you have installed tidytext and then also load the package via library(tidytext)
.
If you still have problems, can you create a reprex (a minimal reproducible example) for this? The goal of a reprex is to make it easier for us to recreate your problem so that we can understand it and/or fix it. If you've never heard of a reprex before, you may want to start with the tidyverse.org help page. Thanks! 🙌
hi julia i have multioutputs (the target variable represent 7 variables ) , i tried this code rain %>% recipe(CARTE_VISA+DECES+MRH+PACK_BLEDI_ARE+TOUT_EN_UN+COMPTE_D_EPARGNE_ZERO+COMPTES_DEVISES~.) and does not work , is there any way to predict these
@mohamedelhilaltek It's hard to tell from just that info. Can you create a reprex (a minimal reproducible example) for this? The goal of a reprex is to make it easier for others to recreate your problem so that we can understand it and/or fix it. If you've never heard of a reprex before, you may want to start with the tidyverse.org help page. For classification where the outcome has more than 2 levels, you can use an example data such as scat
(predict the Species
).
Once you have a reprex, I recommend posting on RStudio Community, which is a great forum for getting help with these kinds of modeling questions. Thanks! 🙌