Video není dostupné.
Omlouváme se.
Leave one out and k-fold cross validation| using R| cv.glm | train and test data | prediction error
Vložit
- čas přidán 19. 08. 2024
- In this video, I show you in R:
1. how to split data into training and test data
2. how to use training data to build the model and test data to check the model
3. how to do cross-validation using cv.glm()
4. how to do k-fold cross validation using cv.glm()
To learn about the idea behind cross-validation, please check out this video: • What is cross validati... It takes you 8 minutes. and it explains the basics of training and testing data, training and testing errors.
1. Why do we need cross-validations?
2. Two methods of cross-validations:
a. leave one out
b. k-fold.
Again, the full R code from this video is available here: github.com/yz-...
This was very helpful, thank you!!
It helped me a lot, thank you!
It's a wonderful video, which do me a big favor in time! Thanks!
Glad it helps!
Very impressive!
How you can do the leave one out cross validation for mixed effects models?
thank you very much , but i encounterd a difficuality to conduct leave one-out sensitivity analysis using R for prevalence or signle proportion meta analysis
Thanks a ton.
Most welcome!
Thank you very much for the detailed and helpful video. Is there a way to interpret the delta value of the cv.glm() function without comparing it with other models (e.g. as done in your video)? For example, can I simply run the LOOCV on a model and then interpret the delta value (if it's good/bad)? Since the MSE depends on the metric/unit, you can't really derive much from this unstandardized value by itself, right? Thank you in advance!!!
Very clear explanation! Learned a lot from your video❥(^_-)
Your video helps me a lot. Thanks!!
But one question that I encountered in R, is it the same script when the outcome is a binomial variable?
I didn’t get your question. Do you want to create a 0/1 binary variable? It would be the same.
@@datasciencewithyan4124 Thx, I will try🙏
Hello, may I ask how to get the sensitivity and specificity using the LOOCV scripts in your video?
You need to make a new video because your video and audio are out of sync, do you check this stuff before you hit upload?
It is not out of sync from my side.