Cognitive Computing with IBM Watson

Book description

Understand, design, and create cognitive applications using Watson’s suite of APIs

Key Features

  • Work with IBM Watson APIs to build efficient and powerful cognitive apps
  • Build smart apps to carry out different sets of activities with the help of real-world use cases
  • Get well-versed with the best practices of IBM Watson and implement them in your daily work

Book Description

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.

What you will learn

  • Get well-versed with the APIs provided by IBM Watson on IBM Cloud
  • Understand ML, AI, cognitive computing, and neural network principles
  • Implement smart applications in fields such as healthcare, entertainment, security, and more
  • Explore unstructured data using cognitive metadata with the help of Natural Language Understanding
  • Discover the capabilities of IBM Watson’s APIs by using them to create real-life applications
  • Delve into various domains of cognitive computing, such as media analytics, embedded deep learning, computer vision, and more

Who this book is for

If you’re new to cognitive computing, you’ll find this book useful. Although not a prerequisite, some knowledge of artificial intelligence and deep learning will be an added advantage. This book covers these concepts using IBM Watson’s tools.

Table of contents

  1. Title Page
  2. Copyright and Credits
    1. Cognitive Computing with IBM Watson
  3. About Packt
    1. Why subscribe?
  4. Contributors
    1. About the authors
    2. About the reviewer
    3. Packt is searching for authors like you
  5. Preface
    1. Who this book is for
    2. What this book covers
    3. To get the most out of this book
      1. Download the example code files
      2. Download the color images
      3. Conventions used
    4. Get in touch
      1. Reviews
  6. Background, Transition, and the Future of Computing
    1. Transitioning from conventional to cognitive computing
      1. Limitations of conventional computing
        1. Solving conventional computing's problems
    2. Workings of machine learning
      1. Machine learning and its uses 
        1. Cons of machine learning 
    3. Introduction to IBM Watson
      1. Hardware and software requirements
        1. Signing up for IBM Cloud
    4. Summary 
  7. Can Machines Converse Like Humans?
    1. Creating a conversational agent workspace
      1. Creating an instance of Watson Assistant and a workspace
      2. The sample application
    2. Creating a set of conversational intents
      1. Recognizing entities
    3. Identifying entities through annotators
    4. Building a dialog
      1. Creating the dialog for a complex Intent using Frame Slots
        1. Context variables
    5. Programming your conversation application
    6. Emerging features
    7. Summary
    8. Further reading
  8. Computer Vision
    1. Can machines visually perceive the world around them?
      1. The past – classical computer vision
      2. The present – deep learning for computer vision
    2. Creating a basic image-recognition system
    3. Creating an instance of Watson Visual Recognition and a classifier
      1. Uploading data and training the classifier
      2. Testing the classifier
      3. Creating a Python application to classify with Watson
      4. Handling the case where you don't have training data
      5. Using the facial detection model
    4. Summary
  9. This Is How Computers Speak
    1. A computer that talks
      1. Playing sound through the speaker
    2. Getting fancier with how to speak
      1. Controlling pronunciation
      2. Customizing speech synthesis
      3. Using sounds-like customization
      4. Streaming and timing
    3. A fun application of the speech service
      1. Talking to the computer
      2. Getting voice from a microphone
      3. Using the WebSockets interface to speech recognition
      4. Telephones are not good microphones
      5. More about base models
      6. Dealing with speaker hesitations
    4. Customizing the speech recognition service
      1. Customizing Watson's language model
      2. Customizing the acoustic model for Watson
      3. Leveraging batch processing
    5. Summary
    6. Further reading
  10. Expecting Empathy from Dumb Computers
    1. Introducing empathy
      1. Understanding the complexities of sentiment
    2. The functionality of the Tone Analyzer API
      1. How you can use the Tone Analyzer API
    3. Understanding personality through natural language
      1. Using natural language to infer personality traits
    4. Calling the Personality Insights API
    5. Summary
  11. Language - How Watson Deals with NL
    1. Natural language translation – the past 
      1. Natural language – it's intrinsically unstructured
    2. Natural language translation – the present
    3. Translating between languages with Language Translator
    4. Training custom NMT models with Watson
    5. Categorizing text using Natural Language Classifier
    6. Summary
    7. Further reading
  12. Structuring Unstructured Content Through Watson
    1. Using computers that recognize what you mean
    2. Introducing the NLU service
      1. Alternative sources of literature
      2. Types of analyses
        1. Categories
      3. Concepts
        1. Emotion
        2. Sentiment
        3. Entities
        4. Relations
        5. Keywords
        6. Semantic roles
        7. Parts of speech (syntax)
    3. Customizing NLU
      1. Preparing to annotate
      2. Creating a type system
      3. Adding documents
        1. As an aside
      4. Preparing documents for use in Watson Knowledge Studio
      5. Loading documents into Watson Studio
        1. Performing annotations
        2. Editing the type system
        3. The importance of being thorough
        4. Coreferences
        5. Training Watson
        6. Deploying the custom model to NLU
    4. Using a custom model in NLU
    5. Summary
  13. Putting It All Together with Watson
    1. Recapping Watson Services
    2. Building a sample application from Watson Services
      1. The use case and application
      2. The program flow
        1. Translating voice input
        2. Determining intent
        3. Prompting the user for their input
        4. Setting the document of interest
        5. Summarizing entities and concepts
        6. Identifying an entity of interest
        7. Assessing the personality of the entity
        8. Assessing the tone of the entity
        9. Translating text
        10. Classifying text
    3. Running the program
      1. Setup
    4. Summary
  14. Future - Cognitive Computing and You
    1. Other services and features of Watson
      1. Compare and Comply 
      2. Discovery
      3. Watson Studio
      4. Machine learning
      5. Knowledge catalog
      6. Watson OpenScale
    2. The future of Watson
    3. Advances in AI
      1. Generative adversarial networks
      2. Conversational systems
      3. Deep learning
      4. Edge computing
      5. Bias and ethics in AI
      6. Robotics and embodiment
      7. Quantum computing and AI
    4. The future of AI
    5. Summary 
  15. Another Book You May Enjoy
    1. Leave a review - let other readers know what you think

Product information

  • Title: Cognitive Computing with IBM Watson
  • Author(s): Rob High, Tanmay Bakshi
  • Release date: April 2019
  • Publisher(s): Packt Publishing
  • ISBN: 9781788478298