Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
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

Product type Book
Published in Mar 2019
Publisher Packt
ISBN-13 9781789611854
Pages 288 pages
Edition 1st Edition
Languages
Author (1):
James D. Miller James D. Miller
Profile icon James D. Miller
Toc

Table of Contents (15) Chapters close

Preface 1. Section 1: Introduction and Foundation
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 €14.99/month. Cancel anytime