Search icon CANCEL
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
Training Systems Using Python Statistical Modeling

You're reading from   Training Systems Using Python Statistical Modeling Explore popular techniques for modeling your data in Python

Arrow left icon
Product type Paperback
Published in May 2019
Publisher Packt
ISBN-13 9781838823733
Length 290 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Curtis Miller Curtis Miller
Author Profile Icon Curtis Miller
Curtis Miller
Arrow right icon
View More author details
Toc

Evaluating clusters

In this section, we will look at ways to judge the quality of a clustering scheme. The two approaches we will discuss include what's known as elbow analysis and silhouette analysis.

Evaluating the quality of a clustering scheme isn't well-defined. In unsupervised learning, there is no base truth to compare against, so we cannot say that a clustering scheme does a good job when compared to that base truth. Thus, we need to define an objective that a clustering scheme tries to achieve, such as minimizing the squared distances from cluster members to centroids or maximizing a likelihood function.

In this section, when I discuss clustering evaluation, I'm concerned primarily with deciding between clustering algorithms and choosing the number of clusters. The elbow method is a method for choosing the number of clusters to use in a clustering scheme...

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