Book Image

Hands-On Machine Learning with IBM Watson

By : James D. Miller
Book Image

Hands-On Machine Learning with IBM Watson

By: James D. Miller

Overview of this book

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.
Table of Contents (15 chapters)
Free Chapter
1
Section 1: Introduction and Foundation
6
Section 2: Tools and Ingredients for Machine Learning in IBM Cloud
10
Section 3: Real-Life Complete Case Studies

Additional preparation

In this section, we will take care of a bit more housekeeping that is required before we can successfully run the project.

Pillow is a Python Imaging Library (PIL), which provides support for opening, manipulating, and saving images. The current version identifies and reads a large number of formats.

This project utilizes pillow and requires at least version 5.3.0 to be installed. To ensure that the notebook uses this version, we need to run the following commands:

# --- we need pillow version of 5.3.0 to run this project
# --- this code will uninstall the current version:
!pip uninstall -y Pillow
# --- install the 5.3.0 version
!pip install Pillow==5.3.0
# --- import the new one
import PIL
# --- Should print 5.3.0. If it doesn't, then restart the kernel
print(PIL.PILLOW_VERSION)

The code uninstalls the currently installed version of Pillow, installs version...