Preface
Chapter I-Introducing Machine
The origins of machine learning
Uses and abuses of machine learning
Machine learning successes
The Iimits of machine Iearning
Machine learning ethics
How machines Iearn
Data storage
Abstraction
GeneraIizatiOn
Evaluation
Machine learning in practice
Types ofinput data
Types of machine learning algorithms
Matching input data to algorithms
Machine learning with R
Installing R packages
Loading and unloading R packages
Installing RStudio
Summary
Chapter 2-Managing and Understanding Data
R data structures
Vectors
Factors
Lists
Data frames
Matrices and arrays
Managi ng data with R
Saving,loading,and removing R data structures
Importing and saving data frOm CSV files
Exploring and understanding data
Exploring the structure of data
Exploring numeric variables
Measuring the central tendency-mean and median
Measuring spread—-quartiles and the five-number summary
Visualizing numeric variables-boxplots
Visualizing numeric variables-histograms
Understanding numeric data—uniform and normal distributions
Measuring spread-variance and standard deviation
Exploring categorical variables
Measuring the central tendency-the mode
Exploring relationships between variables
Visualizing relationships-scatterplots
Examining relationships-two--way cross_·tabulations
Summary
Chapter 3-Lazy Learning-Classification Using
Nearest Neighbors
Understanding nearest neighbor classification
The k.NN algorithm