SepalLengthCm SepalWidthCm PetalLengthCm PetalWidthCm Species
6.1 2.9 4.7 1.4 Iris-versicolor
6.4 2.8 5.6 2.1 Iris-virginica
6.3 2.5 4.9 1.5 Iris-versicolor
5.4 3.9 1.3 0.4 Iris-setosa
Please load the iris dataset from sklearn
Plot sepal length vs sepal width. Use different colors for each species.
Make a plot of each of the six combinations of the four variables with subplots
Redraw the above plot but use colors red, blue and yellow for the three species.
Use petal length and petal width and plot that graph alone, using the same three colors.
Create a machine learning model with the above two variables. Divide the data into 80% training set and 20% test set. Report errors on both sets.
Also show me the confusion matrix
Finally, create a model with ALL four variables and with a similar 80/20 division to report errors.