First page Back Continue Last page Overview Graphics

Dataset

Before we actually start with writing a nearest neighbor classifier, we need to think about the data, i.e. the learnset. We will use the "iris" dataset provided by the datasets of the sklearn module.

The data set consists of 50 samples from each of three species of Iris

Iris Versicolor

Iris Virginica

Iris Setosa

petal

petal

sepal