Advanced Data Analytics Using Python by 2023
Author: 2023 , Date: September 27, 2023
, Views: 242
Chapter 4 UnsUpervised Learning: CLUstering
Revealing the Current Cluster
Finally, weâll use a bitwise operation to show just blobs that belong to the
current cluster while concealing all others.
Simply use the following command to run our script:
$ python cluster_hues.py
Using the K-means method, we can observe that our blobs have been
automatically sorted into the colors of red, green, and blue. We can see
that just the shades of red have been segregated in Figure 4-6.
Figure 4-6. The red blobs are being separated from the blues
and greens
Only hues of green are depicted in Figure 4-6.
102
Copyright Disclaimer:
This site does not store any files on its server. We only index and link
to content provided by other sites. Please contact the content providers
to delete copyright contents if any and email us, we'll remove relevant
links or contents immediately.