Login using Social Account
     Continue with GoogleLogin using your credentials
The Iris dataset is a famous dataset that is used to train the basics of Machine Learning. You can find more about the Iris dataset from it's Wikipedia page using the below link:
https://en.wikipedia.org/wiki/Iris_flower_data_set
The Iris dataset can be found in the dataset collection of sklearn. It can be loaded as follows:
from sklearn import datasets
datasets.load_iris()
However, this gives you a Pandas DataFrame with a few ndarray components. The data component consists of the actual data. The target component contains the targets. The target_names contains the names of the species of Iris flowers. The DESCR contains description of the dataset.
Here, you will be calculating the mean, median, and standard deviation of a particular column of this Iris dataset.
sklearn and save it in a variable named iris_dfdata component in a Pandas DataFrame called datasepal_length, sepal_width, petal_length and petal_width respectively.target component in a Pandas DataFrame called targettarget dataframe as species.data and target to form a single dataset by mapping each row of data to it's respective target and save them in the iris variablesepal_length column to the sepal_len_mean variable.sepal_width column to the sepal_width_median variable.petal_length column to the petal_len_std variable.petal_width column to the petal_width_min variable.species column to the num_of_species variable.
Taking you to the next exercise in seconds...
Want to create exercises like this yourself? Click here.
No hints are availble for this assesment
Note - Having trouble with the assessment engine? Follow the steps listed here
Loading comments...