Week 12 Iris Data
Week 12 Iris Data
'''
https://machinelearningmastery.com/machine-learning-in-python-
step-by-step/
Loads a dataset with assosciated attribute names, then reports on
details
of the dataset including statistics and graphs
'''
# Generate and save box and whisker plots for each attribute
print("\nGenerating box plots")
dataset.plot(kind='box', subplots=True, layout=(2, 2),
sharex=False, sharey=False)
plt.savefig('box.png')
print("Box plots saved as 'box.png'")