Created
December 14, 2017 00:30
-
-
Save steniowagner/7d37d0f85f6692cb96ef9b0096a0fc47 to your computer and use it in GitHub Desktop.
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
import numpy as np | |
import matplotlib.pyplot as plt | |
results = [128.404195237, 97.3462196942, 97.32592423, 77.4317551694] | |
clusters_points = [2, 3, 4, 5] | |
plt.xlim([2, 5]) | |
plt.ylim([50, 140]) | |
plt.plot(clusters_points, results, 'go') # bolinha verde | |
plt.plot(clusters_points, results, 'k:', color='blue') # linha pontilhada | |
plt.grid(True) | |
plt.xlabel("Clusters") | |
plt.ylabel("Error") | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment