Download presentation
Presentation is loading. Please wait.
Published byAlbert Hudson Modified over 8 years ago
1
1 Peter Fox Data Analytics – ITWS-4600/ITWS-6600 Week 12b, April 22, 2016 Cross-validation and Local Regression Lab
2
2 Datathon – IDEA and Mitre: http://events.rpi.edu/cal/event/showEventMore.rdo;j sessionid=CD0CA00940BACEC632C67D06A0842 201
3
Diamonds require(ggplot2) # or load package first data(diamonds) head(diamonds) # look at the data! # ggplot(diamonds, aes(clarity, fill=cut)) + geom_bar() ggplot(diamonds, aes(clarity)) + geom_bar() + facet_wrap(~ cut) ggplot(diamonds) + geom_histogram(aes(x=price)) + geom_vline(xintercept=12000) ggplot(diamonds, aes(clarity)) + geom_freqpoly(aes(group = cut, colour = cut)) 3
4
Cross-validation - cvTools Lab 12b_cv{1,18}_2016.R – try params 4
5
Smoothing/ local … http://cran.r-project.org/doc/contrib/Ricci- refcard-regression.pdfhttp://cran.r-project.org/doc/contrib/Ricci- refcard-regression.pdf Review this and apply to datasets in labs… 5
6
Scripts in the usual place Lab 12b_svmreg*_2016.R Lab 12b_knnreg*_2016.R Lab 12b_loess*_2016.R Lab 12b_pls*_2016.R Lab 12b_lplm*_2016.R Lab 12b_quant*_2016.R Lab 12b_ridge*_2016.R Lab 12b_splines*_2016.R 6
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.