Working with the ‘Iris’ data set for Machine Learning
Taking the iris data set:from sklearn.datasets import load_irisiris_dataset = load_iris() then loading it into a pandas DataFrame and displaying the data in the training set using pd.plotting.scatter_matrix # create dataframe from data in X_train# label…