Book Image

Cognitive Computing with IBM Watson

By : Rob High, Tanmay Bakshi
Book Image

Cognitive Computing with IBM Watson

By: Rob High, Tanmay Bakshi

Overview of this book

Cognitive computing is rapidly becoming a part of every aspect of our lives through data science, machine learning (ML), and artificial intelligence (AI). It allows computing systems to learn and keep on improving as the amount of data in the system increases. This book introduces you to a whole new paradigm of computing – a paradigm that is totally different from the conventional computing of the Information Age. You will learn the concepts of ML, deep learning (DL), neural networks, and AI with the help of IBM Watson APIs. This book will help you build your own applications to understand, and solve problems, and analyze them as per your needs. You will explore various domains of cognitive computing, such as NLP, voice processing, computer vision, emotion analytics, and conversational systems. Equipped with the knowledge of machine learning concepts, how computers do their magic, and the applications of these concepts, you’ll be able to research and apply cognitive computing in your projects.
Table of Contents (16 chapters)
Title Page
Copyright and Credits
About Packt
Contributors
Preface
Index

Preface

Cognitive computing is rapidly infusing every aspect of our lives. It relates to the three important fields of data science, machine learning, and artificial intelligence (AI). It allows computing systems to self-learn and keep on improving with the growing data in the system. 

This book will introduce the readers to a whole new paradigm of computing that is totally different from the conventional computing of the Information Age. You will learn about the concepts of machine learning, deep learning, neural networks, and AI through the set of DLaaS APIs that IBM Watson provides. This book will show you how to build your own applications that will understand, plan, decide, solve problems, analyze, synthesize, and assess task as per your needs. You will be exposed to various domains of cognitive computing, such as natural language processing (NLP), media analytics, embedded deep learning, computer vision, emotion analytics, and situational awareness using different IBM Watson APIs, such as the conversation API and the Visual Recognition API. You'll also build sentiment analysis apps using the Tone Analyzer API, and explore the Personality Insights API, the Retrieve and Rank API, the Discovery API, among others.

This way, readers will be elevated to a level where they can fully understand what machine learning is, and what goes on behind the scenes to make computers do their magic, as well as the areas where these concepts can be applied. Having achieved this, readers will then be able to embark upon their journey of learning, researching, or applying the concepts they have learned to their respective fields.

Who this book is for

This book is for beginners and novices; having some knowledge of AI and deep learning is an advantage, but not a prerequisite to benefit from this book. We explain the concepts of deep learning, Deep Learning as a Service (DLaaS), and AI through the set of tools that IBM Watson provides.

What this book covers

Chapter 1Background, Transition and the Future of Computing, covers what conventional computing is, its limitations, and why we need cognitive computing. It also covers the downsides of conventional computing from different angles.

Chapter 2, Can Machines Converse Like Humans?, looks at conversations through machines and the concept of devices conversing with humans like humans, which goes into the chatbots you use every day.

Chapter 3, Computer Vision, discusses how computers can be given the ability to see something and make decisions to help us in tasks such as recognizing, categorizing, and alerting.

Chapter 4, This Is How Computers Speak, is about how computers convert text to speech and vice versa.

Chapter 5, Expecting Empathy from Dumb Computers, introduces the concept of empathy, as we understand it, and what we can expect from computers in terms of emotion and personal judgment.

Chapter 6, Language - How Watson Deals with NL, covers the discovery and understanding of unstructured content via cognitive metadata. This includes two subtopics—the discovery service, and natural language understanding.

Chapter 7, Structuring Unstructured Content Through Watson, is about four APIs that Watson provides, namely, language translator, natural language classifier, document conversion, and retrieve and rank.

Chapter 8, Putting It All Together with Watson, will introduce an application that demonstrates the use of many of the Watson services that we have covered in this book. This will demonstrate how these services can be brought together to achieve a simple, but interesting and useful application of those services. 

Chapter 9, Future - Cognitive Computing and You, considers where cognitive computing is headed, and discusses some use cases in the fields of robotics and simulations, along with what you should do to move forward after completing this book. This chapter guides the reader by citing resources and providing tips about how to plan your next steps; which companies to look at for further research and jobs; and where to look if some professional help is required.

To get the most out of this book

Having some knowledge of AI and deep learning will be an advantage, but not a prerequisite, to benefit from this book

Download the example code files

You can download the example code files for this book from your account at www.packt.com. If you purchased this book elsewhere, you can visit www.packt.com/support and register to have the files emailed directly to you.

You can download the code files by following these steps:

  1. Log in or register at www.packt.com.
  2. Select the SUPPORT tab.
  3. Click on Code Downloads & Errata.
  4. Enter the name of the book in the Search box and follow the onscreen instructions.

Once the file is downloaded, please make sure that you unzip or extract the folder using the latest version of:

  • WinRAR/7-Zip for Windows
  • Zipeg/iZip/UnRarX for Mac
  • 7-Zip/PeaZip for Linux

The code bundle for the book is also hosted on GitHub at https://github.com/PacktPublishing/Cognitive-Computing-with-IBM-Watson. In case there's an update to the code, it will be updated on the existing GitHub repository.

We also have other code bundles from our rich catalog of books and videos available at https://github.com/PacktPublishing/. Check them out!

Download the color images

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. You can download it here: http://www.packtpub.com/sites/default/files/downloads/9781788478298_ColorImages.pdf.

Conventions used

There are a number of text conventions used throughout this book.

CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "Mount the downloaded WebStorm-10*.dmg disk image file as another disk in your system."

A block of code is set as follows:

import json
from ibm_watson.visual_recognition_v3 import VisualRecognitionV3

Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "Select the Annotate button on your Annotation Set."

Note

Warnings or important notes appear like this.

Note

Tips and tricks appear like this.

Get in touch

Feedback from our readers is always welcome.

General feedback: If you have questions about any aspect of this book, mention the book title in the subject of your message and email us at [email protected].

Errata: Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you have found a mistake in this book, we would be grateful if you would report this to us. Please visit www.packt.com/submit-errata, selecting your book, clicking on the Errata Submission Form link, and entering the details.

Piracy: If you come across any illegal copies of our works in any form on the Internet, we would be grateful if you would provide us with the location address or website name. Please contact us at [email protected] with a link to the material.

If you are interested in becoming an author: If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, please visit authors.packtpub.com.

Reviews

Please leave a review. Once you have read and used this book, why not leave a review on the site that you purchased it from? Potential readers can then see and use your unbiased opinion to make purchase decisions, we at Packt can understand what you think about our products, and our authors can see your feedback on their book. Thank you!

For more information about Packt, please visit packt.com.