Тёмный

Model Canadian wind turbine capacity with decision trees and tidymodels 

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

Tune and interpret decision trees for predicting capacity of #TidyTuesday wind turbines in Canada. Check out the code on my blog: juliasilge.com/blog/wind-turb...

Наука

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

 

17 июл 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 28   
@fealgu100
@fealgu100 3 года назад
Thanks for all the great topics, Julia.
@davidroche2744
@davidroche2744 3 года назад
I have learnt a lot with your videos. Thanks Julia.
@clono1984
@clono1984 3 года назад
hi Julia, I'm a huge fan of yours! Just a request for future consideration: an ML workflow with a at least one Python chunk. Would love to learn how you would blend R/Python together. Thanks for all of your great work.
@matthieur.4589
@matthieur.4589 3 года назад
Awesome, thanks :)
@davidjackson7675
@davidjackson7675 3 года назад
You could have used "span=" in the geom_smooth() to adjust the fit.
@maksim0933
@maksim0933 3 года назад
big black cat also listening to the lesson sitting behind ))
@deanmait
@deanmait 3 года назад
Hi Julia, Great video as usual. Why did you not use the "workflow" this time? Also when would you typically choose to use that approach instead of the "non-workfow" one and vice versa?
@JuliaSilge
@JuliaSilge 3 года назад
I did not use a workflow this time mostly so that I could show how to use parttree for visualization; that only works for bare parsnip models.
@deanmait
@deanmait 3 года назад
@@JuliaSilge Got it. Thanks Julia
@mikhaeldito
@mikhaeldito 3 года назад
I learnt a lot from your videos! How can we tune and select over many models in one pipeline? Is it possible to do so in tidymodels framework?
@JuliaSilge
@JuliaSilge 3 года назад
Not over multiple *kinds* of models, as in different algorithms. You still need to set those up as separate tuning runs right now, but then you can pretty fluently compare then during the model evaluation phase, the way you compare different tuning options for the same type of model.
@PA_hunter
@PA_hunter 2 года назад
Hi Julia, is there a visual of how the different tidymodels steps connect?
@JuliaSilge
@JuliaSilge 2 года назад
Two things come to mind for this. One is this section of our book which has an outline of the modeling process: www.tmwr.org/software-modeling.html#model-phases Another is this outline of what the different packages do: www.tidymodels.org/packages/
@grvsrm
@grvsrm 3 года назад
Hey Julia, Thanks for another useful screencast. Just a small doubt, while predicting finally using the workflow, I get the following error. I wonder, what could be the reason??? > final_res$.workflow[[1]] %>% + predict(turbine_train[44,]) Error: Workflow has not yet been trained. Do you need to call `fit()`?
@JuliaSilge
@JuliaSilge 3 года назад
Ah, there is a bug in the current version of tune on CRAN about this. If you can update tune from GitHub, this is fixed. (We are working on a new CRAN release for tune very soon.)
@grvsrm
@grvsrm 3 года назад
@@JuliaSilge Thanks a lot. Let me do that right away. Thanks again..!
@syhusada1130
@syhusada1130 Год назад
Is there a way to visualize the trees with its condition at every split and end of tree through tidymodels?
@JuliaSilge
@JuliaSilge Год назад
If I'm understanding your question correctly, you'll want to use `extract_fit_engine()` and then use any typical visualization such as rpart.plot(): parsnip.tidymodels.org/reference/extract-parsnip.html
@chubby1985
@chubby1985 3 года назад
Which RStudio Theme is that?
@JuliaSilge
@JuliaSilge 3 года назад
It is one of the ones from the rsthemes package, I think? github.com/gadenbuie/rsthemes
@artathearta
@artathearta 3 года назад
5:00 Great video Julia, just a question, why didn't you just use recipes for these steps?
@JuliaSilge
@JuliaSilge 3 года назад
You definitely could, especially the `fct_lump_n()` might be something you would want to learn from training data and then apply to testing data. We have to use good judgment in when to use recipes for a transformation vs. when to apply it before starting a modeling workflow (maybe even before splitting into testing and training data). The important things to think about are how information leakage may creep in, whether this is a statistical transformation that you want to learn from one data set and apply to others, whether this is a deterministic transformation that isn't affected by that kind of thing, etc. Some of these here are a bit in a gray area. You can read more about related issues here: www.tmwr.org/recipes.html#skip-equals-true
@artathearta
@artathearta 3 года назад
@@JuliaSilge Thank you for such a thorough response. I've been working through your book (tmwr) with Max Kuhn and I just searched "tidymodels r tutorials" to get my hands a little dirty when I found your videos. Thank you again!
@iugaMovil
@iugaMovil 3 года назад
Great video, learned a lot. I'm adding to my toolbox: - fct_lump_n - finalize_model
@davidjackson7675
@davidjackson7675 3 года назад
Julia, Here is my Part-1 of my wind turbine analysis: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-qiOyCi-MH88.html
Далее
Would you go on a Blind Date in Italy?
0:51
Просмотров 18 млн
Tuning random forest hyperparameters with tidymodels
1:04:32
Lasso regression with tidymodels and The Office
44:49
The moment we stopped understanding AI [AlexNet]
17:38
Просмотров 664 тыс.
Gaussian Processes
23:47
Просмотров 120 тыс.
Partial dependence plots for Mario Kart world records
27:29
Choose a phone for your mom
0:20
Просмотров 7 млн