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

КОМЕНТАРІ • 21

  • @user-fq6lx1kk8b
    @user-fq6lx1kk8b Місяць тому

    👍👍👍Thank you so much!

  • @davidbezpalec2099
    @davidbezpalec2099 10 місяців тому

    Thank you so much, Spencer. The most straightforward demonstration I have found on this topic! Fantastic work!

  • @aondoakaajege4342
    @aondoakaajege4342 Рік тому

    Hello Spencer, I do find your lectures very helpful. You've got good content and thanks for helping.

  • @BilingualCoco
    @BilingualCoco Рік тому

    This was so incredibly helpful! Thank you!

  • @nicolepang9865
    @nicolepang9865 3 роки тому

    Thank you for sharing! This is really helpful to my assignment!

  • @022_m.nauvalmuzaki7
    @022_m.nauvalmuzaki7 2 роки тому

    thanks sir, u help my deadline

  • @ziddneyyy
    @ziddneyyy 3 роки тому

    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 :))

    • @SpencerPaoHere
      @SpencerPaoHere  3 роки тому

      Not a problem !
      Thank you for your kind support! :)))

  • @AnandaTasya-zb5os
    @AnandaTasya-zb5os 2 місяці тому

    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?

  • @esmailsayid2976
    @esmailsayid2976 2 роки тому

    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.

    • @SpencerPaoHere
      @SpencerPaoHere  2 роки тому

      I think I was using 1.3.959 (Rstudio) -- so quite old. What's the issue? I just updated my rstudio configurations.

  • @shaunpx1
    @shaunpx1 2 роки тому

    Awesome video, question though isn't scaling the same thing as calculating the z-score.

    • @SpencerPaoHere
      @SpencerPaoHere  2 роки тому

      Hello! Yes! In R, the scale function uses the same formula as the Z-Score.

  • @lukelaban9814
    @lukelaban9814 Рік тому

    At 9:10 where you mention xtrain and ytrain, does xtrain refer to IV's and ytrain to response variables?

    • @SpencerPaoHere
      @SpencerPaoHere  Рік тому

      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.

    • @lukelaban9814
      @lukelaban9814 Рік тому

      @@SpencerPaoHere brilliant, thank you for the quick response.

  • @angelali6437
    @angelali6437 Рік тому

    How do we find the significance of the coefficients in ridge regression?

    • @SpencerPaoHere
      @SpencerPaoHere  Рік тому

      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)

  • @ahmedazeezabdulhussein7435
    @ahmedazeezabdulhussein7435 2 роки тому

    Halo
    Can someone send me the codes for the ridge regression analysis?

    • @SpencerPaoHere
      @SpencerPaoHere  2 роки тому

      github.com/SpencerPao/Ridge-Lasso-ElasticNet