I am trying to make a graph of k (as in k-means) vs error, and I can't get it to show the actual number of k on the x-axis (1-15, not just the even numbers), nor any any numbers at all if I add a title to X.
I have looked at the data frame documentation and the matplotlib axes documentation, and I couldn't find anything telling me how to get it to show the numbers? Even if I have to manually specify them?
Please see images below:
rdf.plot.line(title='Number of clusters Vs mean accuracy')
rdf.plot.line(title='Number of clusters Vs mean accuracy',
I don't understand how to get the x axis to show all 15 numbers (1-15).