bufflib.cluster.elbow_method_plot

bufflib.cluster.elbow_method_plot(data, max_clusters=10)

Perform the elbow method and plot the results.

Parameters:
  • data (list of tuples or numpy.ndarray) – The data points in the format [(xi, yi), …].

  • max_clusters (int) – The maximum number of clusters to consider (default is 10).

Returns:

None