> ## Documentation Index
> Fetch the complete documentation index at: https://shapely.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# K-Finder

>  K-Finder automatically determines the optimal number of clusters (K) for your data using methods like the Elbow Method and Silhouette Analysis. It tests different K values and recommends the best one.

This removes the guesswork from choosing K for algorithms like K-Means and Gaussian Mixture. 

<Note>
  Always run K-Finder **before** using K-Means, Gaussian Mixture, or Spectral Clustering. The suggested K value is a recommendation you may want to try nearby values (K±1) and compare results using the **Cluster Quality** node.
</Note>

<a href="/images/ML/K-Finder.png" target="_blank">
  <img src="https://mintcdn.com/shapely/k8EK4RW_OYOqKd74/images/ML/K-Finder.png?fit=max&auto=format&n=k8EK4RW_OYOqKd74&q=85&s=c07b785a5054ac32cae68db9dbbe8c38" className="pointer-events-none" style={{ borderRadius: '0.5rem', border: '1px solid rgba(0,0,0,0.1)' }} width="1185" height="650" data-path="images/ML/K-Finder.png" />
</a>
