Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Machine Learning with IBM Watson

You're reading from   Hands-On Machine Learning with IBM Watson Leverage IBM Watson to implement machine learning techniques and algorithms using Python

Arrow left icon
Product type Paperback
Published in Mar 2019
Publisher Packt
ISBN-13 9781789611854
Length 288 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
James D. Miller James D. Miller
Author Profile Icon James D. Miller
James D. Miller
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Preface 1. Section 1: Introduction and Foundation FREE CHAPTER
2. Introduction to IBM Cloud 3. Feature Extraction - A Bag of Tricks 4. Supervised Machine Learning Models for Your Data 5. Implementing Unsupervised Algorithms 6. Section 2: Tools and Ingredients for Machine Learning in IBM Cloud
7. Machine Learning Workouts on IBM Cloud 8. Using Spark with IBM Watson Studio 9. Deep Learning Using TensorFlow on the IBM Cloud 10. Section 3: Real-Life Complete Case Studies
11. Creating a Facial Expression Platform on IBM Cloud 12. The Automated Classification of Lithofacies Formation Using ML 13. Building a Cloud-Based Multibiometric Identity Authentication Platform 14. Another Book You May Enjoy

K-nearest neighbors

As the previous algorithm (KMeans) is an unsupervised learning methodology, the k-nearest neighbors (KNN) algorithm is a fundamentally simple to understand supervised machine learning methodology. The concept of the KNN algorithm is described commonly as classifying data by identifying its nearest neighbor or, my favorite analogy, you can identify or classify data by identifying who it associates most with or finding its closest neighbor.

The Python code

As we stated earlier, our objective is to demonstrate how to implement various types of ML algorithms within IBM Watson Studio, not provide the theory behind each algorithm; in addition to that, consistent with the last section, we will utilize an existing...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image