Skip to content

Instantly share code, notes, and snippets.

@3liud
Created March 21, 2022 09:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 3liud/4c51aafdf0beda87dd68a37998a9f175 to your computer and use it in GitHub Desktop.
Save 3liud/4c51aafdf0beda87dd68a37998a9f175 to your computer and use it in GitHub Desktop.
week_#7_in_machine learning14
plt.figure(figsize=(13, 6))
plt.plot(range(1, 11), errors)
plt.plot(range(1,11), errors, linewidth=3, color='blue', marker='8')
plt.xlabel('No. of Clusters')
plt.ylabel('WCSS')
plt.xticks(np.arange(1,11,1))
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment