title: FCluster with Param "maxclust" -- Get the chosen Threshold
body: <p>I am currently clustering data and I used hierarchy.fcluster with the parameter &quot;maxclust&quot;.</p>
  <p>According to the <a href="https://scipy.github.io/devdocs/reference/generated/scipy.cluster.hierarchy.fcluster.html#scipy.cluster.hierarchy.fcluster" rel="nofollow noreferrer">documentation</a> the algorithm picks a threshold thats fits.</p>
  <blockquote>
  <p>Finds a minimum threshold r so that the cophenetic distance between any two original observations in the same flat cluster is no more than r and no more than t flat clusters are formed.</p>
  </blockquote>
  <p>Is there a way to figure out the chosen threshold?</p>