title: How to get the optimal number of clusters using hierarchical cluster analysis automatically in python?
body: <p>I want to use <strong>hierarchical cluster analysis</strong> to get the optimal number (K) of clusters automatically, then apply this K to <strong>K-means clustering</strong> in python. </p>
  
  <p>After studying many article, I know some methods tell us that we can plot the graph to determine K, but have any methods can output a real number automatically in python?</p>