Apress.Cognitive.Computing.Recipes

所需积分/C币:10 2019-03-31 08:30:15 23.94MB PDF

Solve your AI and machine learning problems using complete and real-world code examples. Using a problem-solution approach, this book makes deep learning and machine learning accessible to everyday developers, by providing a combination of tools such as cognitive services APIs, machine learning plat
Cognitive Computing Recipes Adnan masood Adnan hashmi Stanford, CA, USA Nashville, TN, USa ISBN-13(pbk):978-1-4842-4105-9 ISBN-13( electronic:978-1-4842-4106-6 htps:/ doi. org/10.1007/978-1-4842-4106-6 Copyright C 2019 by Adnan Masood, Adnan Hashmi This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or part of the material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting, reproduction on microfilms or in any other physical way, and transmission or information storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now known or hereafter developed Trademarked names, logos, and images may appear in this book. Rather than use a trademark symbol with every occurrence of a trademarked name, logo, or image we use the names, logos, and images only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark The use in this publication of trade names, trademarks, service marks, and similar terms, even if they are not identified as such, is not to be taken as an expression of opinion as to whether or not they are subject to proprietary rights While the advice and information in this book are believed to be true and accurate at the date of publication neither the authors nor the editors nor the publisher can accept any legal responsibility for any errors or omissions that may be made. The publisher makes no warranty, express or implied, with respect to the material contained herein Managing Director, Apress Media LLC: Welmoed spahi Acquisitions Editor: Susan McDermott/Shiva Ramachandran Development Editor: Laura berenson Coordinating Editor: Divya Modi Cover designed by eStudio Calamar CoverimagedesignedbyFreepik(www.freepik.com) Distributed to the book trade worldwide by Springer Science+Business Media New York, 233 Spring Street, 6th Floor, New York, NY 10013. Phone 1-800-SPRINGER, fax(201)348-4505, email orders-ny@springer sbm.com,orvisitwww.springeronline.com.ApressMedia,LlcisaCaliforniaLlcandthesolemember owner) is Springer Science Business Media Finance Inc(SSBM Finance Inc). SSBM Finance Inc is a Delaware corporation Forinformationontranslationspleaseemailrights@apress.comorvisithttp://www.apress.com/ rights-permissions Apress titles may be purchased in bulk for academic, corporate, or promotional use eBook versions and licenses are also available for most titles. For more information reference our print and ebook bulk sales webpageathttp://www.apress.com/bulk-sales Any source code or other supplementary material referenced by the author in this book is available to readersonGithubviathebooksproductpagelocatedatwww.apress.com/978-1-4842-4105-9.Formore detailedinformationpleasevisithttp://www.apress.com/source-code Printed on acid-free paper To my family Adnan masood To my motherland - Adnan hashmi Dai lyp 微信搜索公众号 DailyPros 扫码关注“每天一本编程书 Table of contents About the authors Acknowledgments ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ Foreword X Preface mmmmmmxxi In Praise of cognitive Computing Recipes. mamaaaammmaanmaaXXiii Introduction ■■■■■■■ XXV Chapter 1: Democratization of Al Using Cognitive Services mmm mma. 1 Democratization of Artificial Intelligence Machine-Learning Libraries ■■ Current State of Machine-Learning Deep-Learning Platforms 446 Building a Business Case for artificial Intelligence. mmmmmmmmnmmmmememnnnam. nn. 8 Natural-Language Understanding Generation Speech Recognition Cognitive Digital Assistants Unstructured Text Analytics 9 Decision Management 10 Robotic process automation n,10 The Five Tribes of Machine Learning ■重日重■面重D面重a重,■面重D, Microsoft Cognitive Services- A Whirlwind tour….,…,,……………12 Speech 13 Language.mmmammmnmemmemmemmmmmnmmnmnmnmnmammnmmmmmnnmemnmnnmnmmmnmmmnnmn 14 Knowledge 14 Search 14 TABLE OF CONTENTS Ethics of Artificial Intelligence 15 Conclusion,mmm 16 References& Further Reading….,,…,…………17 Chapter 2: Building Conversational Interfaces ammaar Components of conversational Ul seemsseuenueee... 20 Getting Started with Bot Framework mmmmmmmmmemmmmmmmmmnmmmmmn 21 Bot Framework SDK samples ■重,面重面重重,重面重重重■ 25 Recipe2-1. Building YodaBot..,,…,…,, 27 Problem mmm 27 Solution…27 How It Works 31 Recipe 2-2. Creating Bots Using Azure Bot Service 36 Problem 36 Solution How| t Works… 37 Recipe 2-3. Building a Question and Answer Bot 43 Problem Solution mmmmmmm 44 HoW| t Works…4 Recipe 2-4 Data Center Health Monitor Botacmmmmcccccmcnnacnmn 53 Prob|em……53 Solution n54 How It Works 55 etting Up Azure Deployment via Resource Manager Template mmmmmmmem. References Further Reading Chapter 3: Seeing Is Believing: Custom vision taaatasassammmmammmsaaaaaittttaaaaaIssaIIIIaaa. 87 3-1. Hot Dog, Not Hot Dog mmnanemammanmmemamaanmmmmcnnamaannmmamaan. 89 Problem Solution…90 TABLE OF CONTENTS 3-2. Building Custom Vision to Train Your Security System….,.,.……97 Problem…97 Solution 97 33. Caption Bot Using the Cognitiⅳ ve Services ComputerⅦ lision APl……...,…,………108 Problem……108 Solution mmmm 108 DAQUAR challenge 127 3-4. Explore Your Fridge Using CustomVision.A|….......,.,………127 Problem 127 Solution ,127 3-5. Now Explore Your Fridge Using Cognitive Toolkit…….,,,,,…………138 Problem ,138 Solution…139 3-6. Product and Part ldentification Using custom vision ■■重D,面重重,重D重■ 151 Problem 151 Sout0n,…151 3-7 Apparel Search with Custom Vision Models in CNTK ,173 Prob|em,…173 Sout0n,……173 References Further Reading 187 Chapter 4: Text Analytics: The Dark Data Frontier mmmmmammammmmm 189 Overview of the Text Analytics Ecosystem ,190 CoreNLP 191 NLTK--Python Natural Language Toolkit...................... 191 SpaCY 192 Gensim 193 Word2vec 193 GloVe-Global Vectors for Word Representation 194 DeepDive- Features, not algorithms…...,,…….194 Snorkel-A System for Fast Training-Data Creation ,195 Fondue— Knowledge- Base Construction from Richly Formatted Data.………,195 TABLE OF CONTENTS TextBlob--Simplified Text Processing mmmmmm. Cloud-based Text Analytics and the APls 196 4-1. Claim Classification mmmm. 197 Problem mmm 197 Solution…197 How It Works 197 4-2. Know Your company' s Health………205 Problem 205 Solution mmm 206 How It Works 208 4-3. Text Summarization mmo. 214 Problem…214 Solution…1215 How| t Works… 222 References Further Reading 224 Chapter 5: Cognitive robotics Process Automation: Automate This! mmma 225 5-1. Extract Intent from audio 227 Problem 227 Solution…227 How It Works…28 Create a LUis Endpoint 229 Create a luiS application and train for User Utterances ....mmmmmammmmmmmmnn 231 Write Code for a Console application in visual Studio 2017 239 5-2. Email Classification and Triage for Automated Support-Ticket Generation . Problem 250 Solution mm. 250 How It Works 250 5-3. Anomaly Detection: A Case of Fraudulent Credit card Transactions 264 Problem 264 Solution mmmmmm 264 How It Works ,265 TABLE OF CONTENTS 5-4. Finding Needles: Cross-Correlation in Time Series Problem…270 Solution,……270 How It Works n271 5-5. Understanding Traffic Patterns: Demand Forecasting for Energy.mm...m... 277 Problem mmmmmmm. 277 Solution 277 ow It Works…279 References Further Reading ■面重重重面重重a重■面重重■ 287 Chapter 6: Knowledge Management Intelligent Search.a ■■■■■■■■■■■■■■■■■■■■■■ ag289 6-1. Explore the Azure Search Indexing Process ■■重D面重D重,重D重■ 293 Problem 293 Solution 294 ow It Works…296 6-2. Natural-Language Search with LUIs Problem 298 Sout0n……298 How It Works 299 6-3. Implement Entity Search…...,,,,,,…,333 Problem…333 So| ution… 334 How It works…334 6-4. Get Paper Abstracts........……38 Problem mmmm 338 Sout0n…………338 How It works 339 6-5. Identify Linked Entities in Text Analytics….,.,.,.,.,…,……344 Problem 344 Solution………344 How It Works n,344 TABLE OF CONTENTS 6-6. Apply Cognitive Search ■■D■口■口■■■ 347 Prob|em…347 Sout0n…1347 Create a Storage 349 Upload the Dataset ....mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm 351 References Further Reading 358 Chapter 7: AlOps: Predictive Analytics Machine Learning in Operations aman 359 7-1. Building Knowledge Graph Using Grakn..,,,,,,,,………,361 Problem 361 Solution mmmm 361 How| t Works… 362 7-2. Detect Anomalies Using Cognitive Services Labs Project anomaly Finder.…………372 Problem…372 Solution 372 How It Works……373 References Further Reading 382 Chapter 8: Al Use Cases in the Industry ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■口■■■■■ 383 Financial services….383 8-1. Mobile fraud Detection 383 Problem 383 Solution …………………………….384 8-2. Float Optimization 385 Prob|em….385 Solution…1385 8-3. Accident Propensity Prediction(Insurance) 386 Problem……386 Solution n386 Healthcare ■■■ 386 8-4. Accurate Diagnosis and Patient outcome Prediction 重D,重D重D面重面重D 388 Problem 388 Solution……388

...展开详情
试读 127P Apress.Cognitive.Computing.Recipes
img
alo54

关注 私信 TA的资源

上传资源赚积分,得勋章
    最新推荐
    Apress.Cognitive.Computing.Recipes 10积分/C币 立即下载
    1/127
    Apress.Cognitive.Computing.Recipes第1页
    Apress.Cognitive.Computing.Recipes第2页
    Apress.Cognitive.Computing.Recipes第3页
    Apress.Cognitive.Computing.Recipes第4页
    Apress.Cognitive.Computing.Recipes第5页
    Apress.Cognitive.Computing.Recipes第6页
    Apress.Cognitive.Computing.Recipes第7页
    Apress.Cognitive.Computing.Recipes第8页
    Apress.Cognitive.Computing.Recipes第9页
    Apress.Cognitive.Computing.Recipes第10页
    Apress.Cognitive.Computing.Recipes第11页
    Apress.Cognitive.Computing.Recipes第12页
    Apress.Cognitive.Computing.Recipes第13页
    Apress.Cognitive.Computing.Recipes第14页
    Apress.Cognitive.Computing.Recipes第15页
    Apress.Cognitive.Computing.Recipes第16页
    Apress.Cognitive.Computing.Recipes第17页
    Apress.Cognitive.Computing.Recipes第18页
    Apress.Cognitive.Computing.Recipes第19页
    Apress.Cognitive.Computing.Recipes第20页

    试读已结束,剩余107页未读...

    10积分/C币 立即下载 >