Newer
Older
# Exercise 2.3.2
# (requires data from exercise 2.3.1 so will run that script first)
from ex2_3_1 import *
plt.subplot(int(u), int(v), i + 1)
plt.hist(X[:, i], color=(0.2, 0.8 - i * 0.2, 0.4))
plt.xlabel(attributeNames[i])
plt.ylim(0, N / 2)
print("Ran Exercise 2.3.2")