I'm working with sckitlearn/matplotlib to clusterize and plot some data, with 3D projection. The code is working fine, but now I want to plot only a specific DBSCAN label.
I expect to plot individually the labels 0 or 1 or 2, so I can identify more easily the data in each cluster. How can I extract these values? Any ideas?
Use array indexing.
You can plot X[label == 1]
easily.