title: How to plot the cost / inertia values in sklearn kmeans?
body: <p>Is it possible to draw kmeans cost value?
  I want to draw the cost value based on iteration of kmeans like below diagram<a href="https://i.stack.imgur.com/zVSTF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zVSTF.png" alt="enter image description here" /></a></p>
  <p>Can you please refer to some relevant thread? Thank you</p>