Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Effective Amazon Machine Learning

You're reading from   Effective Amazon Machine Learning Expert web services for machine learning on cloud

Arrow left icon
Product type Paperback
Published in Apr 2017
Publisher Packt
ISBN-13 9781785883231
Length 306 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Alexis Perrier Alexis Perrier
Author Profile Icon Alexis Perrier
Alexis Perrier
Arrow right icon
View More author details
Toc

Table of Contents (10) Chapters Close

Preface 1. Introduction to Machine Learning and Predictive Analytics FREE CHAPTER 2. Machine Learning Definitions and Concepts 3. Overview of an Amazon Machine Learning Workflow 4. Loading and Preparing the Dataset 5. Model Creation 6. Predictions and Performances 7. Command Line and SDK 8. Creating Datasources from Redshift 9. Building a Streaming Data Analysis Pipeline

Analyzing the logs


For every operation it carries out, Amazon ML gives us access to the related logs. We can download and analyze the model training logs and infer a few things on how Amazon ML trains and selects the best model.

Go back to the last Titanic model, and in the summary part, click on the Download Log link. The log file is too long to be reproduced here but is available at https://github.com/alexperrier/packt-aml/blob/master/ch5/titanic_training.log:

Amazon ML launches five versions of the SGD algorithm in parallel. Each version is called a learner and corresponds to a different value for the learning rate: 0.01, 0.1,1, 10, and 100. The following five metrics are calculated at each new pass of the algorithm:

  • Accuracy
  • Recall
  • Precision
  • F1-score
  • AUC

The negative-log-likelihood is also calculated to assess whether the last iterations have brought significant improvement in reducing the residual error.

Optimizing the learning rate

If you recall from Chapter 2, Machine Learning Definitions and...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime