At the end of your life, you will never regret not having passed one more test, not winning one more
Idea Transcript
Home Linkedin (https://www.linkedin.com/in/manuel-amunategui-20748923) Videos (https://www.youtube.com/user/mamunate/videos) Feedback (https://github.com/amunategui/Feedback/issues/new)
Feature Hashing (a.k.a. The Hashing Trick) With R Practical walkthroughs on machine learning, )
Let’s look at the AUC (Area under the curve) so we can compare this approach with the feature-hashed one: auc(objTest[,outcomeName], glmnetPredict)
## [1] 0.6480986
Using Feature Hashing Now for the fun part, remember that wide ) auc(objTest[,outcomeName], glmnetPredict)
## [1] 0.6475847
Practically the same score as prepping the ) # dummy version score: auc(objTest[,outcomeName], glmnetPredict) # feature hashed version ------------------------------------------------diabetes_hash