ebook img

Pragmatic AI: An Introduction to Cloud-Based Machine Learning PDF

678 Pages·2018·24.8 MB·English
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview Pragmatic AI: An Introduction to Cloud-Based Machine Learning

About This E-Book EPUB is an open, industry-standard format for e-books. However, support for EPUB and its many features varies across reading devices and applications. Use your device or app settings to customize the presentation to your liking. Settings that you can customize often include font, font size, single or double column, landscape or portrait mode, and figures that you can click or tap to enlarge. For additional information about the settings and features on your reading device or app, visit the device manufacturer’s Web site. Many titles include programming code or configuration examples. To optimize the presentation of these elements, view the e-book in single-column, landscape mode and adjust the font size to the smallest setting. In addition to presenting code and configurations in the reflowable text format, we have included images of the code that mimic the presentation found in the print book; therefore, where the reflowable format may compromise the presentation of the code listing, you will see a “Click here to view code image” link. Click the link to view the print-fidelity code image. To return to the previous page viewed, click the Back button on your device or app. Praise for Pragmatic AI “[This is] a sweeping guide that bridges the gap between the promise of AI and solutions to the gritty problems that must be solved to deploy real-world projects. Clear and usable, Pragmatic AI covers much more than just Python and AI algorithms.” –Christopher Brousseau, founder and CEO of Surface Owl, the Enterprise AI platform “A fantastic addition for any technology enthusiast! There is so much you can say about this book! Noah Gift really made this a practical guide for anyone involved with machine learning in the industry. Not only does it explain how one can apply machine learning on large data sets, it provides a valuable perspective on technology feedback loops. This book will benefit many data science and development teams so they can create and maintain their applications efficiently right from the beginning.” –Nivas Durairaj, technical account manager, AWS (Certified Professional Architect AWS) “A great read if you want insights into building production-quality ML pipelines and tools that truly help your data engineering, data science, or data DevOps team. Even experienced developers often find themselves spinning their wheels on low-productivity tasks. Oftentimes, software books and university classes don't explain the steps needed to go into production. Noah has a gift for finding pragmatic approaches to software deployments that can really accelerate the development and delivery process. He has a focus and passion for enabling rapid software solutions that is very unique. “The key to building production-quality ML pipelines is automation. Tasks and steps, which engineers may do manually during the research or prototype phase, must be automated and scaled in order to create a production system. This book is full of practical and fun exercises that will help any Python developer automate and extend their pipelines into the cloud. “I'm currently working with big data, ML pipelines, Python, AWS, Google cloud, and Azure at Roofstock.com, an online real estate company. Our analytics database is approaching 500 million rows! Within this book I found many practical tips and exercises that will immediately improve my own productivity. Recommended!” –Michael Vierling, lead engineer, Roofstock Pragmatic AI An Introduction to Cloud-Based Machine Learning Noah Gift Boston • Columbus • New York • San Francisco • Amsterdam • Cape Town Dubai • London • Madrid • Milan • Munich • Paris • Montreal • Toronto • Delhi • Mexico City São Paulo • Sydney • Hong Kong • Seoul • Singapore • Taipei • Tokyo Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and the publisher was aware of a trademark claim, the designations have been printed with initial capital letters or in all capitals. The author and publisher have taken care in the preparation of this book, but make no expressed or implied warranty of any kind and assume no responsibility for errors or omissions. No liability is assumed for incidental or consequential damages in connection with or arising out of the use of the information or programs contained herein. For information about buying this title in bulk quantities, or for special sales opportunities (which may include electronic versions; custom cover designs; and content particular to your business, training goals, marketing focus, or branding interests), please contact our corporate sales department at [email protected] or (800) 382-3419. For government sales inquiries, please contact [email protected]. For questions about sales outside the U.S., please contact [email protected]. Visit us on the Web: informit.com/aw Library of Congress Control Number: 2018939834 Copyright © 2019 Pearson Education, Inc. All rights reserved. This publication is protected by copyright, and permission must be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permissions, request forms and the appropriate contacts within the Pearson Education Global Rights & Permissions Department, visit www.pearsoned.com/permissions/. Microsoft and/or its respective suppliers make no representations about the suitability of the information contained in the documents and related graphics published as part of the services for any purpose. All such documents and related graphics are provided “as is” without warranty of any kind. Microsoft and/or its respective suppliers hereby disclaim all warranties and conditions with regard to this information, including all warranties and conditions of merchantability, whether express, implied or statutory, fitness for a particular purpose, title and non-infringement. In no event shall Microsoft and/or its respective suppliers be liable for any special, indirect or consequential damages or any damages whatsoever resulting from loss of use, data or profits, whether in an action of contract, negligence or other tortious action, arising out of or in connection with the use or performance of information available from the services. The documents and related graphics contained herein could include technical inaccuracies or typographical errors. Changes are periodically added to the information herein. Microsoft and/or its respective suppliers may make improvements and/or changes in the product(s) and/or the program(s) described herein at any time. Partial screen shots may be viewed in full within the software version specified. Microsoft® Windows® and Microsoft Azure® are registered trademarks of the Microsoft Corporation in the U.S.A. and other countries. This book is not sponsored or endorsed by or affiliated with the Microsoft Corporation. Google, GCP and the Google logo are registered trademarks of Google Inc., used with permission. Amazon, AWS and the Amazon logo are registered trademarks of Amazon Inc., used with permission. ISBN-13: 978-0-13-486386-3 ISBN-10: 0-13-486386-0 1 18 This book is dedicated to my family and extended family, who have always been there for me: my wife, Leah Gift; my mom, Shari Gift; my son, Liam Gift; and my mentor, Dr. Joseph Bogen Contents Preface Acknowledgments About the Author I: Introduction to Pragmatic AI 1 Introduction to Pragmatic AI Functional Introduction to Python Procedural Statements Printing Create Variable and Use Variable Multiple Procedural Statements Adding Numbers Adding Phrases Complex Statements Strings and String Formatting Adding and Subtracting Numbers Multiplication with Decimals Using Exponents Converting Between Different Numerical Types Rounding Numbers Data Structures Dictionaries Lists Functions Using Control Structures in Python for Loops While Loops If/Else Intermediate Topics Final Thoughts 2 AI and ML Toolchain Python Data Science Ecosystem: IPython, Pandas, NumPy, Jupyter Notebook, Sklearn R, RStudio, Shiny, and ggplot Spreadsheets: Excel and Google Sheets Cloud AI Development with Amazon Web Services DevOps on AWS Continuous Delivery Creating a Software Development Environment for AWS Integrating Jupyter Notebook Integrating Command-Line Tools Integrating AWS CodePipeline Basic Docker Setup for Data Science Other Build Servers: Jenkins, CircleCI, and Travis Summary 3 Spartan AI Lifecycle Pragmatic Production Feedback Loop AWS SageMaker AWS Glue Feedback Loop AWS Batch Docker-based Feedback Loops Summary II: AI in the Cloud 4 Cloud AI Development with Google Cloud Platform

Description:
Master Powerful Off-the-Shelf Business Solutions for AI and Machine Learning Pragmatic AI will help you solve real-world problems with contemporary machine learning, artificial intelligence, and cloud computing tools. Noah Gift demystifies all the concepts and tools you need to get results—even if
See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.