Created
March 21, 2022 09:50
-
-
Save 3liud/db6d95b757163673358287460d5ff504 to your computer and use it in GitHub Desktop.
week_#7_in_machine learning8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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