Skip to content

Instantly share code, notes, and snippets.

@3liud
Created March 21, 2022 09:50
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/db6d95b757163673358287460d5ff504 to your computer and use it in GitHub Desktop.
Save 3liud/db6d95b757163673358287460d5ff504 to your computer and use it in GitHub Desktop.
week_#7_in_machine learning8
# plot
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