Book Image

Mastering Machine Learning with R - Third Edition

By : Cory Lesmeister
Book Image

Mastering Machine Learning with R - Third Edition

By: Cory Lesmeister

Overview of this book

Given the growing popularity of the R-zerocost statistical programming environment, there has never been a better time to start applying ML to your data. This book will teach you advanced techniques in ML ,using? the latest code in R 3.5. You will delve into various complex features of supervised learning, unsupervised learning, and reinforcement learning algorithms to design efficient and powerful ML models. This newly updated edition is packed with fresh examples covering a range of tasks from different domains. Mastering Machine Learning with R starts by showing you how to quickly manipulate data and prepare it for analysis. You will explore simple and complex models and understand how to compare them. You’ll also learn to use the latest library support, such as TensorFlow and Keras-R, for performing advanced computations. Additionally, you’ll explore complex topics, such as natural language processing (NLP), time series analysis, and clustering, which will further refine your skills in developing applications. Each chapter will help you implement advanced ML algorithms using real-world examples. You’ll even be introduced to reinforcement learning, along with its various use cases and models. In the concluding chapters, you’ll get a glimpse into how some of these blackbox models can be diagnosed and understood. By the end of this book, you’ll be equipped with the skills to deploy ML techniques in your own projects or at work.
Table of Contents (16 chapters)

Data

We will be using what is referred to as the ANSUR dataset, which stands for US Army Anthropometric Survey. It consists of two separate files: one for female soldiers and one for male soldiers. I've combined the results into one dataset. You can download the data here: https://github.com/datameister66/MMLR3rd/blob/master/army_ansur.RData.

I found this data on a data repository site called data.world, which allows members to share any dataset they have of interest. For example, I have a version of the Gettysburg data we used in Chapter 1, Preparing and Understanding Data, on the site. This ANSUR data consists of research done by the Natick Soldier Research, Development and Engineering Center (NSRDEC) on over 6000 Active Duty, Reserve, and National Guard soldiers for the US Army. The features are of 93 different body measurements along with assorted demographic data. The...