Packages
We will use the following packages available in R for supervised and unsupervised learning:
rattle
: This is a data mining GUI in Rrpart.plot
: This is used to plot ther.part
modelscaret
: This is used for classification and regression trainingkknn
: These are the weighted k nearest neighborskernlab
: This is used for kernel-based machine learninge1071
: This package contains miscellaneous functions of the Department of StatisticsMCMCpack
: This package contains the functions for Markov chain Monte Carlo algorithmrandomForest
: This is used for classification and regression based on a forest of trees using random inputsFactoMineR
: This is used for multivariate exploratory data analysis and data mining with R
Supervised learning
In supervised learning we have a target variable and a number of possible predictor variables. The objective is to associate the predictor variables in such a way so as to accurately predict the target variable. We are using some portion of observed data to learn...