<div dir="ltr"><div dir="ltr">Krishna and list,<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 29, 2021 at 7:45 PM chris hermansen <<a href="mailto:clhermansen@gmail.com">clhermansen@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div>Krishna and list<br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 29, 2021, 15:24 krishna Ayyala <<a href="mailto:ayyalakrishna@gmail.com" target="_blank">ayyalakrishna@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Chris,<div>Thanks for the reply. Yes, I did run k-means clustering for 4 clusters. It is creating a new layer called "clusters". This layer has a field called Cluster_id, ranging from 1 to 4. But, this method is considering all the points within the circle. I am looking for the points outside the ellipses to be omitted (should not be considered). Also K-means clustering is not generating any polygons/ellipses. We have to identify a cluster based on the Cluster_ID. I am curious if there is any tool within Qgis that can produce results similar to the circle with ellipses?</div></div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">If you symbolize your points by colour according to the cluster_id does the clustering look acceptable to you?</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div><br></div></div></div></blockquote></div></div></div></blockquote><div><br></div><div>Thinking about your diagram, maybe you want to fit ellipses to point clusters.  If that's the case, maybe this paper is of some help:</div><div><br></div><div><a href="https://www.researchgate.net/publication/276433770_Multiple_ellipse_fitting_by_center-based_clustering/fulltext/56293cc208aef25a243d5d3a/Multiple-ellipse-fitting-by-center-based-clustering.pdf">https://www.researchgate.net/publication/276433770_Multiple_ellipse_fitting_by_center-based_clustering/fulltext/56293cc208aef25a243d5d3a/Multiple-ellipse-fitting-by-center-based-clustering.pdf</a></div><div><br></div><div>I imagine you'd need to program this yourself.<br></div></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Chris Hermansen · clhermansen "at" gmail "dot" com<br><br>C'est ma façon de parler.</div></div></div>