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

Summary


In this chapter, we have moved away from the Amazon ML web interface and learned how to work with the service through the AWS CLI and the Python SDK. The commands and methods for both types of interaction are very similar. The functions and commands perform a standard set of operations from creation to deletion of Amazon ML objects: datasources, models, evaluation, and batch predictions. The fact that Amazon ML chains the sequence of dependent object creation allows you to create all the objects at once without having to wait for one upstream to finish (datasource or model) before creating the downstream one (model or evaluation). The waiter methods make it possible to wait for all evaluations to be completed before retrieving the results and making the necessary object deletion. 

We showed how scripting Amazon ML allowed us to implement Machine Learning methods such as cross-validation and Recursive Feature Selection, both very useful methods in predictive analytics. Although we...