Question: Student Value Edition for The Practice of Computing Using Python(2nd Edition) Chapter 9, Problem 26E In the Machine Learning Repository (http://archive.ics.uci.edu/ml ) one of their
Student Value Edition for The Practice of Computing Using Python(2nd Edition) Chapter 9, Problem 26E
In the Machine Learning Repository (http://archive.ics.uci.edu/ml ) one of their most popular databases is the Iris database. Irises come in three different species: setosa, virginica, and versicolor. Each entry in the data set has five values: sepal length, sepal width, petal length, petal width, and the species name (setosa, virginica, and versicolor). Read in the data and create a dictionary with the key as the species name and the values as the averages of each of the four characteristic values: sepal length, sepal width, petal length, petal width. That is, the size of the dictionary will be three. Write functions to create the dictionary and display the contents of the dictionary.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
