There are two kinds of methods that include direct methods and statistical testing methods :
* Direct methods : It contains elbow and silhouette
* Statistical testing methods : It has gap statistics.
The silhouette is the most frequently used while determining the optimal value of k.