Update: title and axis labels
@@ -46,13 +46,22 @@ for c in concepts.values():
for i in range(len(ConceptLastUsedDistance)):
ConceptLastUsedDistance[i] = LastLastUsed - ConceptLastUsedDistance[i]
plt.figure()
+plt.title("ConceptPriorities histogram")
+plt.xlabel("ConceptPriority")
+plt.ylabel("Count")
plt.hist(ConceptPriorities, log=True)
plt.savefig("ConceptPrioritiesHistogram.png")
plt.figure()
+plt.title("ConceptUseCount histogram")
+plt.xlabel("ConceptUseCount")
+plt.ylabel("Count")
plt.hist(ConceptUseCount, log=True)
plt.savefig("ConceptUseCountHistogram.png")
plt.figure()
+plt.title("ConceptLastUsedDistance histogram")
+plt.xlabel("ConceptLastUsedDistance")
+plt.ylabel("Count")
plt.hist(ConceptLastUsedDistance, log=True)
-plt.savefig("ConceptLastUsedDistance.png")
+plt.savefig("ConceptLastUsedDistance histogram.png")
print("Average priority: " + str((sum(ConceptPriorities))/float(len(ConceptPriorities))))
print("Average use count: " + str((sum(ConceptUseCount))/float(len(ConceptUseCount))))
