Advanced Data Analytics Using Python by 2023

Advanced Data Analytics Using Python by 2023

Author:2023
Language: eng
Format: epub


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



Download



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.