- 306 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
Effective Amazon Machine Learning
About This Book
Learn to leverage Amazon's powerful platform for your predictive analytics needsAbout This Bookā¢ Create great machine learning models that combine the power of algorithms with interactive tools without worrying about the underlying complexityā¢ Learn the What's next? of machine learningāmachine learning on the cloudāwith this unique guideā¢ Create web services that allow you to perform affordable and fast machine learning on the cloudWho This Book Is ForThis book is intended for data scientists and managers of predictive analytics projects; it will teach beginner- to advanced-level machine learning practitioners how to leverage Amazon Machine Learning and complement their existing Data Science toolbox.No substantive prior knowledge of Machine Learning, Data Science, statistics, or coding is required.What You Will Learnā¢ Learn how to use the Amazon Machine Learning service from scratch for predictive analyticsā¢ Gain hands-on experience of key Data Science conceptsā¢ Solve classic regression and classification problemsā¢ Run projects programmatically via the command line and the Python SDKā¢ Leverage the Amazon Web Service ecosystem to access extended data sourcesā¢ Implement streaming and advanced projectsIn DetailPredictive 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.Style and approachThis book will include use cases you can relate to. In a very practical manner, you will explore the various capabilities of Amazon Machine Learning services, allowing you to implementing them in your environment with consummate ease.
Frequently asked questions
Information
Command Line and SDK
- How to handle a whole project workflow through the AWS command line and the AWS Python SDK:
- Managing data uploads to S3
- Creating and evaluating models
- Making and exporting the predictions
- How to implement cross-validation with the AWS CLI
- How to implement Recursive Feature Selection with AWS the Python SDK
Getting started and setting up
Using the CLI versus SDK
Installing AWS CLI
$ pip install --upgrade --user awscli
$ export PATH=~/.local/bin:$PATH
$ source ~/.bash_profile
$ aws --version
$ aws-cli/1.11.47 Python/3.5.2 Darwin/15.6.0 botocore/1.5.10
$ aws configure
$ aws configure
AWS Access Key ID [None]: ABCDEF_THISISANEXAMPLE
AWS Secret Access Key [None]: abcdefghijk_THISISANEXAMPLE
Default region name [None]: us-west-2
Default output format [None]: json
$ aws configure --profile user2
~/.aws/config
[default]
output = json
region = us-east-1
[profile user2]
output = text
region = us-west-2
~/.aws/credentials
[default]
aws_secret_access_key = ABCDEF_THISISANEXAMPLE
aws_access_key_id = abcdefghijk_THISISANEXAMPLE
[user2]
aws_access_key_id = ABCDEF_ANOTHERKEY
aws_secret_access_key = abcdefghijk_ANOTHERKEY
http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html
Picking up CLI syntax
Table of contents
- Title Page
- Credits
- About the Author
- About the Reviewer
- www.PacktPub.com
- Customer Feedback
- Dedication
- Preface
- Introduction to Machine Learning and Predictive Analytics
- Machine Learning Definitions and Concepts
- Overview of an Amazon Machine Learning Workflow
- Loading and Preparing the Dataset
- Model Creation
- Predictions and Performances
- Command Line and SDK
- Creating Datasources from Redshift
- Building a Streaming Data Analysis Pipeline