Тёмный
No video :(

Logistic regression for US House election vote share 

Julia Silge
Подписаться 15 тыс.
Просмотров 2,9 тыс.
50% 1

Today is Election Day and this week’s #TidyTuesday dataset is about elections for the US House of Representatives. This screencast demonstrates how to use logistic regression to understand vote share in these elections, highlighting how to use visualization for model interpretability and a matrix syntax for your model’s outcome (a good fit when you have proportion data). Check out the code on my blog: juliasilge.com...

Опубликовано:

 

28 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 6   
@trevorschrotz
@trevorschrotz 8 месяцев назад
Thanks for the tip on using type.predict = "response" in the broom::augment function. I learn something new from each of your vides, so thanks for the work that you put into making these.
@manueltiburtini6528
@manueltiburtini6528 9 месяцев назад
Amazing analysis! :O
@syhusada1130
@syhusada1130 9 месяцев назад
Awesome, thank you for the tip for showing what a model doing with a fake new data with crossing and augment!
@Mohamed-sq8od
@Mohamed-sq8od 9 месяцев назад
Hello, awesome content as usual , can you do a deep learning model for the next video, it would be great how to create a complicated NN , and add layers or use semi-supervised learning using tidymodels !
@EsinaViwn9
@EsinaViwn9 9 месяцев назад
Dear Julia, I was trying to find an example of tidymodels usage for time series forecasting (I want to create my own pipeline that can be used for any time series data as a first step, just run and see what happens). I am interested in cross-validation options for time series that tidymodels offers (probably inherits something from caret). Do you have any videos on that (I failed to find appropriate one)? Maybe you can share some links with code examples? I expect that you have touched this issue previously when demonstrating tidymodels power. Another problem I encountered was the construction of forecasts for future dates with a model that uses lagged dependent variables as predictors: is there a routine in tidymodels or somewhere else that allows one to automatically generate appropriate data for future predictions (say, if I want to predict for t+2, my lagged dep variable will be the prediction for t+1)? I had to code my own manipulations with a loop (create new row, then fill in values of necessary variables, then pass it to predict(model, newdata = this_new_row)), I am sure there are optimal solutions for this issue, maybe you are familiar with one (part of this problem was that among variables I also had an indicator for whether the day is a weekend or not, there was a dplyr pipeline I used to create it, is there a way to tell tidymodels "look at this pipeline, that is how I create all predictors for my model, please use this pipeline for predict()").
@JuliaSilge
@JuliaSilge 9 месяцев назад
I have 2 suggestions for things to check out: - The first is the modeltime package: business-science.github.io/modeltime/ - The second are the time-based resampling approaches in rsample: rsample.tidymodels.org/reference/slide-resampling.html
Далее
Mapping change in United State polling places
27:09
Просмотров 1,7 тыс.
Topic modeling for Taylor Swift Eras
25:10
Просмотров 3,2 тыс.
Can You Bend This Bar?
01:00
Просмотров 4,7 млн
ЛОВИМ НОВЫХ МОНСТРОВ В LETHAL COMPANY
2:42:22
😭Телеграм УДАЛЯЮТ❌
00:50
Просмотров 130 тыс.
Evaluate multiple ML approaches for spam detection
30:36
One sample t-test in R
8:24
Просмотров 23
Weighted log odds ratios for haunted places in the US
17:58
Tuning XGBoost using tidymodels
50:36
Просмотров 18 тыс.
Sliding window aggregation for rents in San Francisco
15:34
Use xgboost and effect encodings to model tornadoes
37:36
3 Reasons to Use Tidymodels with Julia Silge
1:23:53
Просмотров 3,8 тыс.
Can You Bend This Bar?
01:00
Просмотров 4,7 млн