Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Hands-On Machine Learning with IBM Watson
Hands-On Machine Learning with IBM Watson

Hands-On Machine Learning with IBM Watson: Leverage IBM Watson to implement machine learning techniques and algorithms using Python

Arrow left icon
Profile Icon James D. Miller
Arrow right icon
$19.99 per month
Full star icon Empty star icon Empty star icon Empty star icon Empty star icon 1 (1 Ratings)
Paperback Mar 2019 288 pages 1st Edition
eBook
$20.98 $29.99
Paperback
$43.99
Subscription
Free Trial
Renews at $19.99p/m
Arrow left icon
Profile Icon James D. Miller
Arrow right icon
$19.99 per month
Full star icon Empty star icon Empty star icon Empty star icon Empty star icon 1 (1 Ratings)
Paperback Mar 2019 288 pages 1st Edition
eBook
$20.98 $29.99
Paperback
$43.99
Subscription
Free Trial
Renews at $19.99p/m
eBook
$20.98 $29.99
Paperback
$43.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing
Table of content icon View table of contents Preview book icon Preview Book

Hands-On Machine Learning with IBM Watson

Introduction to IBM Cloud

In this chapter, we will provide a brief introduction to the IBM Cloud platform and the services that it offers, such as machine learning (ML). Moreover, this chapter will provide detailed instructions on how to set up a data science and machine learning development environment on the IBM Cloud. Finally, we will conclude with a project example that involves loading and visualizing data.

We'll break down this first chapter into the following sections:

  • Understanding IBM Cloud
  • The IBM Cloud and Watson Machine Learning services
  • Setting up the environment
  • Data visualization tutorial

Understanding IBM Cloud

What can we say about the IBM Cloud environment? What makes it unique and so exciting? To start, the IBM Cloud platform (formerly known as Bluemix) actually combines platform as a service (PaaS) with infrastructure as a service (IaaS) and, in addition, offers a collection or catalog of cloud services that you can integrate with PaaS and IaaS to efficiently build individual, enterprise, or even global innovative applications.

Some other key points on the IBM Cloud (from a developer perspective) include the following:

  • You can develop in what is called a cloud without borders, which means that you can connect private services to the public IBM Cloud services that are available from IBM
  • You can expect to see a continuously growing number of services and runtime frameworks being added and becoming available to you
  • You can take an idea from start, to development...

Accessing the IBM Cloud

Let's get started! To access the IBM Cloud, you can go to https://www.ibm.com/cloud where you will arrive at the Cloud sign-up/log-in page, which is shown in the following screenshot:

If you click on the blue Cloud sign-up/log-in link, you can create a free account (using your IBM ID) or log in (once you have set up your paid or free account).

After your ID has been authenticated, you will arrive at the IBM Cloud main page or the console, which is shown in the following screenshot:

The IBM Cloud console is the user interface that you use to manage all of your IBM Cloud resources. When you access the console, you can manage your account, log in, access the documentation, access the catalog, view the pricing information, get support, or check the status of IBM Cloud components.

After you log in, the menu bar contains a Navigation Menu icon and...

Cloud resources

Through the IBM Cloud dashboard or console, you can view and work with IBM Cloud resources and Cloud Foundry service instances. We'll dive deeper into these in later chapters, but for now, you can think of a resource as anything that can be created, managed, and contained within a resource group. Some examples include apps, service instances, container clusters, storage volumes, and virtual servers.

In the following screenshot, you'll see the top portion of the console:

Rather than walking you through the entire list of functions and features here, we are going to focus on the areas of the cloud that will help jumpstart our ML project development. The IBM Cloud offers neat developer dashboards (accessible from the Navigate Menu icon in the upper left of the console page), each focusing on a different area of interest (such as Watson, Security, or Finance...

The IBM Cloud and Watson Machine Learning services

Selecting Watson from the list of starter kits offered opens the Build with Watson page, the upper portion of which is shown in the following screenshot:

This page is organized into sections, namely Overview, Starter Kits, Watson Services, Developer Resources, and Apps. If you click on Watson Services, then Browse Services, the current Watson-related services that are offered are presented as panels, as shown in the following screenshot:

At this point, we need to find a service instance we want to use. To select a service offering, you can click on the panel that you are interested in (for example, Machine Learning). To make sure that this is the offering you want, you can click on Details and read through the service description, including its features list and other relevant information (as shown in the following screenshot...

Setting up the environment

To build Watson-based projects, you'll want to access the IBM Watson Studio.

You'll access the IBM Watson Studio from the Cloud Dashboard menu (using the URL given in the preceding Accessing the IBM Cloud section).

IBM Watson Studio is an integrated environment designed to make it easy to develop, train, and manage models, as well as deploy AI-powered applications. You can use the neural network modeler and deep learning experiments in Watson Studio to solve the most challenging and computationally intensive problems with clarity and ease. You'll need your IBM ID to set this up.

There are currently three versions of Watson Studio, namely Cloud, Desktop, and Local, each offering a solution based on where you want to perform your work:

  • Watson Studio Cloud: Your models reside in the IBM public cloud
  • Watson Studio Desktop: Your models reside...

Watson Studio Cloud

Once the setup is done, you'll find that the Watson Studio Cloud format is similar to other IBM sites we've worked with (IBM Watson Analytics and the Cloud console, for example):

All of the versions of Watson Studio provide you with the environment and tools to solve your business problems by collaboratively working with data. You can choose the tools you need to analyze and visualize data, cleanse and shape data, ingest streaming data, or to create, train, and deploy ML models.

Watson Studio architecture and layout

The architecture of Watson Studio is centered around the concept of a project. A project is where you organize your resources and work with data. The most important resources...

Setting up a new project

Simply put, to review what we already went over, to set up our first new project, we need to click on the IBM Watson link in the header area of the main page to navigate to the IBM Watson Studio home panel. We will then perform the following steps:

  1. Click on New Project.
  1. Choose a project type:
    • If you want to train complex neural networks using experiments, choose a Deep Learning project
    • For all other machine learning work, choose the Modeler project type
  1. If you don't have any of the required services already, such as Watson Machine Learning and IBM Cloud Object Storage, new service instances are created.

At this point, we could dig further into each of the administrative areas of IBM Watson Studio, but the objective of this book is more outcome oriented and hands-on, so perhaps the best next step is to have a look at a small but concrete...

Data visualization tutorial

Let's get started with a simple project!

As always, you begin any project with a statement of the project's objectives. In this project, the objective is to use a simple text file (TripRuns.csv), which contains results from a professional driving services organization, to show how easy it is to create a simple visual analytics dashboard with IBM Watson Studio.

With an analytics dashboard, you can build sophisticated visualizations of analytics results, communicate insights based upon those results on the dashboard, and then easily share the dashboard with others. Cognos Dashboard Embedded uses the dashboard functionality from IBM Cognos Analytics. You can learn more about how to use the dashboard by visiting the following URL: https://www.ibm.com/support/knowledgecenter/en/SSEP7J_11.0.0/com.ibm.swg.ba.cognos.ug_ca_dshb.doc/wa_dashboard_discoveryset_intro...

Summary

In this chapter, we got started by introducing the IBM Cloud environment and how to access it for the first time. In addition, we used the IBM Watson console to illustrate how a project is created.

Finally, we reviewed tasks such as adding a new dataset asset to a project and creating a simple analytics dashboard with our data in minutes, without any need for programming.

In the next chapter, we will look into feature extraction.

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Implement data science and machine learning techniques to draw insights from real-world data
  • Understand what IBM Cloud platform can help you to implement cognitive insights within applications
  • Understand the role of data representation and feature extraction in any machine learning system

Description

IBM Cloud is a collection of cloud computing services for data analytics using machine learning and artificial intelligence (AI). This book is a complete guide to help you become well versed with machine learning on the IBM Cloud using Python. Hands-On Machine Learning with IBM Watson starts with supervised and unsupervised machine learning concepts, in addition to providing you with an overview of IBM Cloud and Watson Machine Learning. You'll gain insights into running various techniques, such as K-means clustering, K-nearest neighbor (KNN), and time series prediction in IBM Cloud with real-world examples. The book will then help you delve into creating a Spark pipeline in Watson Studio. You will also be guided through deep learning and neural network principles on the IBM Cloud using TensorFlow. With the help of NLP techniques, you can then brush up on building a chatbot. In later chapters, you will cover three powerful case studies, including the facial expression classification platform, the automated classification of lithofacies, and the multi-biometric identity authentication platform, helping you to become well versed with these methodologies. By the end of this book, you will be ready to build efficient machine learning solutions on the IBM Cloud and draw insights from the data at hand using real-world examples.

Who is this book for?

This beginner-level book is for data scientists and machine learning engineers who want to get started with IBM Cloud and its machine learning services using practical examples. Basic knowledge of Python and some understanding of machine learning will be useful.

What you will learn

  • Understand key characteristics of IBM machine learning services
  • Run supervised and unsupervised techniques in the cloud
  • Understand how to create a Spark pipeline in Watson Studio
  • Implement deep learning and neural networks on the IBM Cloud with TensorFlow
  • Create a complete, cloud-based facial expression classification solution
  • Use biometric traits to build a cloud-based human identification system

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Mar 29, 2019
Length: 288 pages
Edition : 1st
Language : English
ISBN-13 : 9781789611854
Category :
Languages :
Tools :

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing

Product Details

Publication date : Mar 29, 2019
Length: 288 pages
Edition : 1st
Language : English
ISBN-13 : 9781789611854
Category :
Languages :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total $ 131.97
IBM Watson Projects
$48.99
Cognitive Computing with IBM Watson
$38.99
Hands-On Machine Learning with IBM Watson
$43.99
Total $ 131.97 Stars icon

Table of Contents

14 Chapters
Section 1: Introduction and Foundation Chevron down icon Chevron up icon
Introduction to IBM Cloud Chevron down icon Chevron up icon
Feature Extraction - A Bag of Tricks Chevron down icon Chevron up icon
Supervised Machine Learning Models for Your Data Chevron down icon Chevron up icon
Implementing Unsupervised Algorithms Chevron down icon Chevron up icon
Section 2: Tools and Ingredients for Machine Learning in IBM Cloud Chevron down icon Chevron up icon
Machine Learning Workouts on IBM Cloud Chevron down icon Chevron up icon
Using Spark with IBM Watson Studio Chevron down icon Chevron up icon
Deep Learning Using TensorFlow on the IBM Cloud Chevron down icon Chevron up icon
Section 3: Real-Life Complete Case Studies Chevron down icon Chevron up icon
Creating a Facial Expression Platform on IBM Cloud Chevron down icon Chevron up icon
The Automated Classification of Lithofacies Formation Using ML Chevron down icon Chevron up icon
Building a Cloud-Based Multibiometric Identity Authentication Platform Chevron down icon Chevron up icon
Another Book You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Empty star icon Empty star icon Empty star icon Empty star icon 1
(1 Ratings)
5 star 0%
4 star 0%
3 star 0%
2 star 0%
1 star 100%
Leon J. Tate Jan 18, 2022
Full star icon Empty star icon Empty star icon Empty star icon Empty star icon 1
Are you aware that your book is outdated and cannot be used to build anything in IBM Watson? Watson's GUI and features are now at a state where your book is a paperweight. Stop marketing and selling it,
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is included in a Packt subscription? Chevron down icon Chevron up icon

A subscription provides you with full access to view all Packt and licnesed content online, this includes exclusive access to Early Access titles. Depending on the tier chosen you can also earn credits and discounts to use for owning content

How can I cancel my subscription? Chevron down icon Chevron up icon

To cancel your subscription with us simply go to the account page - found in the top right of the page or at https://subscription.packtpub.com/my-account/subscription - From here you will see the ‘cancel subscription’ button in the grey box with your subscription information in.

What are credits? Chevron down icon Chevron up icon

Credits can be earned from reading 40 section of any title within the payment cycle - a month starting from the day of subscription payment. You also earn a Credit every month if you subscribe to our annual or 18 month plans. Credits can be used to buy books DRM free, the same way that you would pay for a book. Your credits can be found in the subscription homepage - subscription.packtpub.com - clicking on ‘the my’ library dropdown and selecting ‘credits’.

What happens if an Early Access Course is cancelled? Chevron down icon Chevron up icon

Projects are rarely cancelled, but sometimes it's unavoidable. If an Early Access course is cancelled or excessively delayed, you can exchange your purchase for another course. For further details, please contact us here.

Where can I send feedback about an Early Access title? Chevron down icon Chevron up icon

If you have any feedback about the product you're reading, or Early Access in general, then please fill out a contact form here and we'll make sure the feedback gets to the right team. 

Can I download the code files for Early Access titles? Chevron down icon Chevron up icon

We try to ensure that all books in Early Access have code available to use, download, and fork on GitHub. This helps us be more agile in the development of the book, and helps keep the often changing code base of new versions and new technologies as up to date as possible. Unfortunately, however, there will be rare cases when it is not possible for us to have downloadable code samples available until publication.

When we publish the book, the code files will also be available to download from the Packt website.

How accurate is the publication date? Chevron down icon Chevron up icon

The publication date is as accurate as we can be at any point in the project. Unfortunately, delays can happen. Often those delays are out of our control, such as changes to the technology code base or delays in the tech release. We do our best to give you an accurate estimate of the publication date at any given time, and as more chapters are delivered, the more accurate the delivery date will become.

How will I know when new chapters are ready? Chevron down icon Chevron up icon

We'll let you know every time there has been an update to a course that you've bought in Early Access. You'll get an email to let you know there has been a new chapter, or a change to a previous chapter. The new chapters are automatically added to your account, so you can also check back there any time you're ready and download or read them online.

I am a Packt subscriber, do I get Early Access? Chevron down icon Chevron up icon

Yes, all Early Access content is fully available through your subscription. You will need to have a paid for or active trial subscription in order to access all titles.

How is Early Access delivered? Chevron down icon Chevron up icon

Early Access is currently only available as a PDF or through our online reader. As we make changes or add new chapters, the files in your Packt account will be updated so you can download them again or view them online immediately.

How do I buy Early Access content? Chevron down icon Chevron up icon

Early Access is a way of us getting our content to you quicker, but the method of buying the Early Access course is still the same. Just find the course you want to buy, go through the check-out steps, and you’ll get a confirmation email from us with information and a link to the relevant Early Access courses.

What is Early Access? Chevron down icon Chevron up icon

Keeping up to date with the latest technology is difficult; new versions, new frameworks, new techniques. This feature gives you a head-start to our content, as it's being created. With Early Access you'll receive each chapter as it's written, and get regular updates throughout the product's development, as well as the final course as soon as it's ready.We created Early Access as a means of giving you the information you need, as soon as it's available. As we go through the process of developing a course, 99% of it can be ready but we can't publish until that last 1% falls in to place. Early Access helps to unlock the potential of our content early, to help you start your learning when you need it most. You not only get access to every chapter as it's delivered, edited, and updated, but you'll also get the finalized, DRM-free product to download in any format you want when it's published. As a member of Packt, you'll also be eligible for our exclusive offers, including a free course every day, and discounts on new and popular titles.