图书简介
Build a Keras model to scale and deploy on a Kubernetes cluster We have seen an exponential growth in the use of Artificial Intelligence (AI) over last few years. AI is becoming the new electricity and is touching every industry from retail to manufacturing to healthcare to entertainment. Within AI, we’re seeing a particular growth in Machine Learning (ML) and Deep Learning (DL) applications. ML is all about learning relationships from labeled (Supervised) or unlabeled data (Unsupervised). DL has many layers of learning and can extract patterns from unstructured data like images, video, audio, etc. Keras to Kubernetes: The Journey of a Machine Learning Model to Production takes you through real-world examples of building DL models in Keras for recognizing product logos in images and extracting sentiment from text. You will then take that trained model and package it as a web application container before learning how to deploy this model at scale on a Kubernetes cluster. You will understand the different practical steps involved in real-world ML implementations which go beyond the algorithms. Find hands-on learning examples Learn to uses Keras and Kubernetes to deploy Machine Learning models Discover new ways to collect and manage your image and text data with Machine Learning Reuse examples as-is to deploy your models Understand the ML model development lifecycle and deployment to production If you’re ready to learn about one of the most popular DL frameworks and build production applications with it, you’ve come to the right place!
Introduction xiii Chapter 1 Big Data and Artificial Intelligence 1 Data Is the New Oil and AI Is the New Electricity 1 Rise of the Machines 4 Exponential Growth in Processing 4 A New Breed of Analytics 5 What Makes AI So Special 7 Applications of Artificial Intelligence 8 Building Analytics on Data 12 Types of Analytics: Based on the Application 13 Types of Analytics: Based on Decision Logic 17 Building an Analytics-Driven System 18 Summary 21 Chapter 2 Machine Learning 23 Finding Patterns in Data 23 The Awesome Machine Learning Community 26 Types of Machine Learning Techniques 27 Unsupervised Machine Learning 27 Supervised Machine Learning 29 Reinforcement Learning 31 Solving a Simple Problem 31 Unsupervised Learning 33 Supervised Learning: Linear Regression 37 Gradient Descent Optimization 40 Applying Gradient Descent to Linear Regression 42 Supervised Learning: Classification 43 Analyzing a Bigger Dataset 48 Metrics for Accuracy: Precision and Recall 50 Comparison of Classification Methods 52 Bias vs. Variance: Underfitting vs. Overfitting 57 Reinforcement Learning 62 Model-Based RL 63 Model-Free RL 65 Summary 70 Chapter 3 Handling Unstructured Data 71 Structured vs. Unstructured Data 71 Making Sense of Images 74 Dealing with Videos 89 Handling Textual Data 90 Listening to Sound 104 Summary 108 Chapter 4 Deep Learning Using Keras 111 Handling Unstructured Data 111 Neural Networks 112 Back-Propagation and Gradient Descent 117 Batch vs. Stochastic Gradient Descent 119 Neural Network Architectures 120 Welcome to TensorFlow and Keras 121 Bias vs. Variance: Underfitting vs. Overfitting 126 Summary 129 Chapter 5 Advanced Deep Learning 131 The Rise of Deep Learning Models 131 New Kinds of Network Layers 132 Convolution Layer 133 Pooling Layer 135 Dropout Layer 135 Batch Normalization Layer 135 Building a Deep Network for Classifying Fashion Images 136 CNN Architectures and Hyper-Parameters 143 Making Predictions Using a Pretrained VGG Model 145 Data Augmentation and Transfer Learning 149 A Real Classification Problem: Pepsi vs. Coke 150 Recurrent Neural Networks 160 Summary 166 Chapter 6 Cutting-Edge Deep Learning Projects 169 Neural Style Transfer 169 Generating Images Using AI 180 Credit Card Fraud Detection with Autoencoders 188 Summary 198 Chapter 7 AI in the Modern Software World 199 A Quick Look at Modern Software Needs 200 How AI Fits into Modern Software Development 202 Simple to Fancy Web Applications 203 The Rise of Cloud Computing 205 Containers and CaaS 209 Microservices Architecture with Containers 212 Kubernetes: A CaaS Solution for Infrastructure Concerns 214 Summary 221 Chapter 8 Deploying AI Models as Microservices 223 Building a Simple Microservice with Docker and Kubernetes 223 Adding AI Smarts to Your App 228 Packaging the App as a Container 233 Pushing a Docker Image to a Repository 238 Deploying the App on Kubernetes as a Microservice 238 Summary 240 Chapter 9 Machine Learning Development Lifecycle 243 Machine Learning Model Lifecycle 244 Step 1: Define the Problem, Establish the Ground Truth 245 Step 2: Collect, Cleanse, and Prepare the Data 246 Step 3: Build and Train the Model 248 Step 4: Validate the Model, Tune the Hyper-Parameters 251 Step 5: Deploy to Production 252 Feedback and Model Updates 253 Deployment on Edge Devices 254 Summary 264 Chapter 10 A Platform for Machine Learning 265 Machine Learning Platform Concerns 265 Data Acquisition 267 Data Cleansing 270 Analytics User Interface 271 Model Development 275 Training at Scale 277 Hyper-Parameter Tuning 277 Automated Deployment 279 Logging and Monitoring 286 Putting the ML Platform Together 287 Summary 288 A Final Word . . . 288 Appendix A References 289 Index 295
Trade Policy 买家须知
- 关于产品:
- ● 正版保障:本网站隶属于中国国际图书贸易集团公司,确保所有图书都是100%正版。
- ● 环保纸张:进口图书大多使用的都是环保轻型张,颜色偏黄,重量比较轻。
- ● 毛边版:即书翻页的地方,故意做成了参差不齐的样子,一般为精装版,更具收藏价值。
关于退换货:
- 由于预订产品的特殊性,采购订单正式发订后,买方不得无故取消全部或部分产品的订购。
- 由于进口图书的特殊性,发生以下情况的,请直接拒收货物,由快递返回:
- ● 外包装破损/发错货/少发货/图书外观破损/图书配件不全(例如:光盘等)
并请在工作日通过电话400-008-1110联系我们。
- 签收后,如发生以下情况,请在签收后的5个工作日内联系客服办理退换货:
- ● 缺页/错页/错印/脱线
关于发货时间:
- 一般情况下:
- ●【现货】 下单后48小时内由北京(库房)发出快递。
- ●【预订】【预售】下单后国外发货,到货时间预计5-8周左右,店铺默认中通快递,如需顺丰快递邮费到付。
- ● 需要开具发票的客户,发货时间可能在上述基础上再延后1-2个工作日(紧急发票需求,请联系010-68433105/3213);
- ● 如遇其他特殊原因,对发货时间有影响的,我们会第一时间在网站公告,敬请留意。
关于到货时间:
- 由于进口图书入境入库后,都是委托第三方快递发货,所以我们只能保证在规定时间内发出,但无法为您保证确切的到货时间。
- ● 主要城市一般2-4天
- ● 偏远地区一般4-7天
关于接听咨询电话的时间:
- 010-68433105/3213正常接听咨询电话的时间为:周一至周五上午8:30~下午5:00,周六、日及法定节假日休息,将无法接听来电,敬请谅解。
- 其它时间您也可以通过邮件联系我们:customer@readgo.cn,工作日会优先处理。
关于快递:
- ● 已付款订单:主要由中通、宅急送负责派送,订单进度查询请拨打010-68433105/3213。
本书暂无推荐
本书暂无推荐