Book Image

R for Data Science

By : Dan Toomey
Book Image

R for Data Science

By: Dan Toomey

Overview of this book

Table of Contents (19 chapters)

Packages


We will use the following packages available in R for supervised and unsupervised learning:

  • rattle: This is a data mining GUI in R

  • rpart.plot: This is used to plot the r.part models

  • caret: This is used for classification and regression training

  • kknn: These are the weighted k nearest neighbors

  • kernlab: This is used for kernel-based machine learning

  • e1071: This package contains miscellaneous functions of the Department of Statistics

  • MCMCpack: This package contains the functions for Markov chain Monte Carlo algorithm

  • randomForest: This is used for classification and regression based on a forest of trees using random inputs

  • FactoMineR: 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...