2.3.2.1. Excercice: classification of iris

import numpy as np
import pylab as pl
from scikits.learn import datasets, svm

iris = datasets.load_iris()
X = iris.data
y = iris.target

X = X[y!=0, :2]
y = y[y!=0, :2]

Solution: ../examples/plot_iris_exercice.py