Split Data R Caret Training and Test

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024
  • Cross-validation consists of dividing the data into two sets: a training set, and the testing set. First, we split the data into two sets. We are going to use the tidyverse and the carrot packages for some help.
    Code: www.cradletogr...
    👇SUBSCRIBE & HIT THE 👍 BUTTON 👇
    R Channel: bit.ly/38yfFP9
    Discord: / discord
    How I Create Videos: bit.ly/sub_to_chan
    CradleToGraveR...
    ➔ TubeBuddy: bit.ly/t_buddy
    ➔ Blue Yeti Mic: amzn.to/2IheZTG
    ➔ 2 Months SkillShare Free ➔ www.skillshare...
    Do you have more to add? Let me know how you liked the video or if I need anything corrected in the comments below.
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    TECH GEAR I USE DAILY
    ➔ MacBook Pro: amzn.to/2XxeBsG
    ➔ Blue Yeti Mic: amzn.to/2IheZTG
    ➔ Swissgear Backpack: • ✅SwissGear Travel Scan...
    ➔ Canon EOS 90D Camera: amzn.to/2u0o52K
    ➔ Apple Magic Trackpad 2: amzn.to/31XDugG
    ➔ mTuber for Title Effects : motionvfx.sjv....
    ➔ mArrows for animated arrows: motionvfx.sjv....
    ➔ Microphone - amzn.to/2LYfJkr
    ➔ Backpack - amzn.to/2Ep4uez
    ➔ Green Screen - amzn.to/2JVzMgP
    ➔ Tripod Neewer: amzn.to/2uF275X
    ➔ Tripod (cheap) - amzn.to/2Eo2wv4
    HOMEPAGE - www.markgingra...
    REVIEWS/BLOG - www.markgingra....
    OTHER COURSES I CURRENTLY TEACH
    ➔ C++ Course: bit.ly/cpp_course
    ➔ Supply Chain Management: bit.ly/scm_course
    Let's chat
    / markgingrass
    #CommissionsEarned
    “As an Amazon Associate I earn from qualifying purchases.”
    I've started a blog about IT and software development projects along with some sound career advice. Check it out:
    www.devgin.com/

Комментарии • 17

  • @CradleToGraveR
    @CradleToGraveR  4 года назад +1

    Who is going to post the homework answer to the Discord: discord.gg/f2uDBvA first?

  • @erang1108
    @erang1108 Год назад +4

    This is by fare the best video on data splitting, so clear and easy to follow!! and even your tiny "mistake" is so precious because i made some same ones as well and had no idea what happened. And you gave all the explanations!! Truly the greatest!!! Thank you sir!

    • @CradleToGraveR
      @CradleToGraveR  Год назад

      Thanks for the kind words. I'm so glad it's helpful.

  • @nol-sor1985
    @nol-sor1985 3 года назад

    man, this helped my project when I was running out of time....you're a hero

  • @RLcheryl
    @RLcheryl 3 года назад

    Hello Sir,
    Thank you so much for the clear explanation. You really helped me with my paper.
    You are really learning people a lot.
    Keep it up!

  • @phyn0x711
    @phyn0x711 2 года назад +1

    Super helpful, thanks a lot !

  • @marioespinosa5554
    @marioespinosa5554 Год назад +1

    thanks

  • @eugenechua7239
    @eugenechua7239 4 года назад +1

    Nice video :) but I thought you might want to try initial_split() from rsample...anyway its a more updated package from Max Kuhn while he is at R studio. Not sure whether caret will still be maintained in the foreseable future...

    • @CradleToGraveR
      @CradleToGraveR  4 года назад

      I heard the same thing. Glad you brought it up. I did do a quick video on using initial_split right after you mentioned it. Thanks.

  • @m.preacher2829
    @m.preacher2829 2 года назад

    a great video for beginners

  • @edigr6906
    @edigr6906 2 года назад

    Thank you 🙏 so helpful

  • @user-hm8ot8ro6v
    @user-hm8ot8ro6v 11 месяцев назад

    I have 25 locations of data where the covariates are nested in the locations. How can I split the data by locations rather all of the data?

  • @RLcheryl
    @RLcheryl 3 года назад

    Quick question Aboutaleb RMSE:
    - is RMSE the average difference between actual value ans predicted value?

  • @oriyomialaba3933
    @oriyomialaba3933 3 года назад

    can someone please help me with this script in R
    I actually don't know how to write the script.
    this is what I want
    I have a dataset that contains two different sheet
    sheet 1 is named James
    sheet 2 is named Bruce
    I want to compare the two sheet James and Bruce using diff parameters or column
    for Sheet1 (James) the parameter or column name is called "Confirm Code"
    for sheet2 (Bruce) the parameter or column name is called "Reference"
    I want the result to show me what's in James and not in Bruce which would come out as NA.
    COPY what's in James that's not in Bruce to another sheet and name the sheet James VAR
    COPY whats in Bruce that's not in James to another sheet and name it Bruce Var
    An example is the one I just performed using excel, i want the same thing using R script. thanks

  • @steventhomas6378
    @steventhomas6378 2 года назад

    hey im doing a university assignment and im trying to figure it out, is there any chance you could help me out?

    • @CradleToGraveR
      @CradleToGraveR  2 года назад

      I'm not near a computer but you can try the R discord server for help maybe.

  • @DB-kv3wu
    @DB-kv3wu Месяц назад

    Atractive and very helpful. Can you hel me?