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 created predictive models in Amazon ML--from selecting the datasource, applying transformations to the initial data with recipes, and analyzing the performance of the trained model. The model performance exploration depends on the type of prediction problem at hand: binary, multi-classification, or regression. We also looked at the model logs for the Titanic dataset and learned how the SGD algorithm trains and selects the best model out of several different ones with different learning rates.

Finally, we compared several data transformation strategies and their impact on the model performance and algorithm convergence in the context of the Titanic dataset. We found out that quantile binning of numeric values is a key strategy in boosting the convergence speed of the algorithm, which overall generated much better models.

So far, these models and performance evaluation are all obtained on training data. That is data that is fully available to the model from the start...