Created
March 21, 2022 09:51
-
-
Save 3liud/4c51aafdf0beda87dd68a37998a9f175 to your computer and use it in GitHub Desktop.
week_#7_in_machine learning14
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
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