Book Image

Effective Amazon Machine Learning

By : Alexis Perrier
Book Image

Effective Amazon Machine Learning

By: Alexis Perrier

Overview of this book

Predictive analytics is a complex domain requiring coding skills, an understanding of the mathematical concepts underpinning machine learning algorithms, and the ability to create compelling data visualizations. Following AWS simplifying Machine learning, this book will help you bring predictive analytics projects to fruition in three easy steps: data preparation, model tuning, and model selection. This book will introduce you to the Amazon Machine Learning platform and will implement core data science concepts such as classification, regression, regularization, overfitting, model selection, and evaluation. Furthermore, you will learn to leverage the Amazon Web Service (AWS) ecosystem for extended access to data sources, implement realtime predictions, and run Amazon Machine Learning projects via the command line and the Python SDK. Towards the end of the book, you will also learn how to apply these services to other problems, such as text mining, and to more complex datasets.
Table of Contents (17 chapters)
Title Page
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Dedication
Preface

Chapter 4. Loading and Preparing the Dataset

Data preparation involves data cleaning and feature engineering. It is the most time-consuming part of a machine learning project. Amazon ML offers powerful features to transform and slice the data. In this chapter, we will create the datasources that Amazon ML requires to train and select models. Creating a datasource involves three steps:

  1. Making the dataset available on AWS S3.
  2. Informing Amazon ML about the nature of the data using the schema.
  3. Transforming the initial dataset with recipes for feature engineering.

In a second part, we will extend Amazon ML data modification capabilities in order to carry out powerful feature engineering and data cleansing by using Amazon SQL service Athena. Athena is a serverless SQL-based query service perfectly suited for data munging in a predictive analytics context.