0
$\begingroup$

I want to clustering algorithm to the below image in jupyter platform. I'm trying to learn on my own. I do know how to implement the code but I don't know how to take the below image as an input dataset.

enter image description here

$\endgroup$
2
  • $\begingroup$ Why are you operating on the image, instead of the data points directly? If this is really about ingesting the image, it’s a programming question and off-topic for Cross Validated. $\endgroup$ Commented Mar 25, 2022 at 10:49
  • $\begingroup$ @AryaMcCarthy this was definetly to the topic. It was just I was just wondering that.... But thankyou for taking time $\endgroup$ Commented Mar 25, 2022 at 16:16

1 Answer 1

0
$\begingroup$

Taking an image of dots as input and obtaining a list of coordinates of those points, this is nontrivial. You are far better off just creating your own set of points. Helpful libraries exist, e.g. sklearn.datasets.make_blobs().

$\endgroup$
2
  • $\begingroup$ Actually, i found this image on somebook, so I thought can't I just applying clustering algorithm to this image directly. $\endgroup$ Commented Mar 25, 2022 at 16:12
  • $\begingroup$ but from your explanation, it is clear that it is not possible to do so (only possible by using data points). However, it seems make_blobs will suffice for this purpose. True? $\endgroup$ Commented Mar 25, 2022 at 16:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.