Skip to Content
Hands-On Unsupervised Learning with Python
book

Hands-On Unsupervised Learning with Python

by Giuseppe Bonaccorso
February 2019
Intermediate to advanced
386 pages
9h 54m
English
Packt Publishing
Content preview from Hands-On Unsupervised Learning with Python

Adjusted Rand score

The adjusted Rand score is a measure of discrepancy between the true label distribution and the predicted one. In order to compute it, it's necessary to define quantities as follows:

  • a: Representing the number of sample pairs (xi, xj) with the same true labels (yi, yj) : yi = yj and assigned to the same cluster Kc
  • b: Representing the number of sample pairs (xi, xj) with different true labels (yi, yj) : yi ≠ yj and assigned to different clusters Kc and Kd with c ≠ d

If there are M values, the total number of binary combinations is obtained using the binomial coefficient with k=2, therefore, an initial measure of discrepancy is:

Obviously, this value can be dominated either by a or b. In both cases, a higher score indicates ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On Unsupervised Learning Using Python

Hands-On Unsupervised Learning Using Python

Ankur A. Patel
Introduction to Machine Learning with Python

Introduction to Machine Learning with Python

Andreas C. Müller, Sarah Guido

Publisher Resources

ISBN: 9781789348279Supplemental Content