reiinakano / scikit-plot

An intuitive library to add plotting functionality to scikit-learn objects.
MIT License
2.43k stars 284 forks source link

Fix elbow curve cost calculation #25

Closed reiinakano closed 7 years ago

reiinakano commented 7 years ago

Previously, plot_elbow_curve calculated cost manually instead of using the built-in score method of a clusterer instance. This PR changes that