Applied Ridge Regression in R part 1
Вставка
- Опубліковано 26 лип 2024
- ===== Likes: 67 👍: Dislikes: 3 👎: 95.714% : Updated on 01-21-2023 11:57:17 EST =====
Check out the Ridge Regression Theory Video !!!!
• Ridge Regression Theory
Origin of Data;
www.cs.toronto.edu/~delve/data...
Github:
github.com/SpencerPao/Ridge-L...
Thanks for watching! Let me know what you think. Are there any issues? Please let me know in the comments below.
Please like and subscribe!
0:00 - Introduction
0:17 - Introducing Data
2:10 - Cleaning NA
3:00 - Scaling Data
5:23 - Training and Testing
10:22 - Outro
👍👍👍Thank you so much!
Thank you so much, Spencer. The most straightforward demonstration I have found on this topic! Fantastic work!
Hello Spencer, I do find your lectures very helpful. You've got good content and thanks for helping.
This was so incredibly helpful! Thank you!
Thank you for sharing! This is really helpful to my assignment!
Glad I helped! :)
thanks sir, u help my deadline
hi, i really love the way u do it. keep up with the good content and thank u for helping me :)
i wish i could do the source code as fast as u do :))
Not a problem !
Thank you for your kind support! :)))
Sorry, but I'm confused about the data you want, did you enter the data manually with Excel, please if you still have the data file, can I ask for it?
hello Spence pao,
thanks for your efforts I really appreciate it.
could you please tell me R version that used to implement the code ?
i'm using right now 4.1.2 and i have some errors about fitting the model.
I think I was using 1.3.959 (Rstudio) -- so quite old. What's the issue? I just updated my rstudio configurations.
Awesome video, question though isn't scaling the same thing as calculating the z-score.
Hello! Yes! In R, the scale function uses the same formula as the Z-Score.
At 9:10 where you mention xtrain and ytrain, does xtrain refer to IV's and ytrain to response variables?
Yes! That is correct. The nature of the dataset is that the first 13 colums are independent variables. And, the last column is the response variable.
@@SpencerPaoHere brilliant, thank you for the quick response.
How do we find the significance of the coefficients in ridge regression?
You can utilize the P value threshold of 0.05, 0.01, 0.001 etc.. It really depends on your use case on what threshold you will use. You can find signficance via summary(model) or coef(model)
Halo
Can someone send me the codes for the ridge regression analysis?
github.com/SpencerPao/Ridge-Lasso-ElasticNet