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
Conferences
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-means clustering using Python

To recap from Chapter 4, Machine Learning Workouts on IBM Cloud, k-means clustering is an unsupervised machine learning methodology—an algorithm that is commonly used to find groups within unlabeled data. Again, since the goal here is to demonstrate how you can apply this methodology to some data using Python in Watson Studio, we won't bother to dissect the details of how k-means works, but will show a working example of the algorithm, using Watson Studio as a proof of concept.

There are numerous examples available online and elsewhere demonstrating the use of Python to implement k-means logic. Here, we'll use an example that is simple to follow and uses available Python modules, such as matplotlib, pandas, and scipy.

Our exercise, using IBM Watson Studio and the Notebook (we created in the sections of this chapter) will:

  1. Create...
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