About this book
Statistical learning bridges statistics and machine learning, providing methods that predict well and that can be understood, validated and trusted. Statistical Learning and Data Analysis with R and Python presents these methods with examples in both languages. It begins with an introduction to statistical learning and linear regression, then classification methods such as logistic regression and discriminant analysis. Resampling methods, including cross-validation and the bootstrap, show how performance and uncertainty are estimated honestly. Model selection and regularisation, with ridge regression and the lasso, address data sets with many predictors. Moving beyond linearity introduces splines and generalised additive models. Tree-based methods, from single trees to random forests and boosting, and support vector machines present powerful methods for classification and regression. Neural networks and deep learning connect statistical learning with modern AI. Unsupervised learning covers principal components and clustering, and a chapter on survival analysis and multiple testing addresses common problems in medical and scientific research. A final chapter offers projects in R and Python. Students of statistics, data science, engineering and the sciences will find a well-structured course at advanced undergraduate and master's level. Researchers and analysts will find a reference for choosing, fitting and evaluating models on their own data.
