Dataset Preview
Go to dataset viewer
Id (int64)PetalLengthCm (float64)PetalWidthCm (float64)SepalLengthCm (float64)SepalWidthCm (float64)Species (string)
1
1.4
0.2
5.1
3.5
"Iris-setosa"
2
1.4
0.2
4.9
3
"Iris-setosa"
3
1.3
0.2
4.7
3.2
"Iris-setosa"
4
1.5
0.2
4.6
3.1
"Iris-setosa"
5
1.4
0.2
5
3.6
"Iris-setosa"
6
1.7
0.4
5.4
3.9
"Iris-setosa"
7
1.4
0.3
4.6
3.4
"Iris-setosa"
8
1.5
0.2
5
3.4
"Iris-setosa"
9
1.4
0.2
4.4
2.9
"Iris-setosa"
10
1.5
0.1
4.9
3.1
"Iris-setosa"
11
1.5
0.2
5.4
3.7
"Iris-setosa"
12
1.6
0.2
4.8
3.4
"Iris-setosa"
13
1.4
0.1
4.8
3
"Iris-setosa"
14
1.1
0.1
4.3
3
"Iris-setosa"
15
1.2
0.2
5.8
4
"Iris-setosa"
16
1.5
0.4
5.7
4.4
"Iris-setosa"
17
1.3
0.4
5.4
3.9
"Iris-setosa"
18
1.4
0.3
5.1
3.5
"Iris-setosa"
19
1.7
0.3
5.7
3.8
"Iris-setosa"
20
1.5
0.3
5.1
3.8
"Iris-setosa"
21
1.7
0.2
5.4
3.4
"Iris-setosa"
22
1.5
0.4
5.1
3.7
"Iris-setosa"
23
1
0.2
4.6
3.6
"Iris-setosa"
24
1.7
0.5
5.1
3.3
"Iris-setosa"
25
1.9
0.2
4.8
3.4
"Iris-setosa"
26
1.6
0.2
5
3
"Iris-setosa"
27
1.6
0.4
5
3.4
"Iris-setosa"
28
1.5
0.2
5.2
3.5
"Iris-setosa"
29
1.4
0.2
5.2
3.4
"Iris-setosa"
30
1.6
0.2
4.7
3.2
"Iris-setosa"
31
1.6
0.2
4.8
3.1
"Iris-setosa"
32
1.5
0.4
5.4
3.4
"Iris-setosa"
33
1.5
0.1
5.2
4.1
"Iris-setosa"
34
1.4
0.2
5.5
4.2
"Iris-setosa"
35
1.5
0.1
4.9
3.1
"Iris-setosa"
36
1.2
0.2
5
3.2
"Iris-setosa"
37
1.3
0.2
5.5
3.5
"Iris-setosa"
38
1.5
0.1
4.9
3.1
"Iris-setosa"
39
1.3
0.2
4.4
3
"Iris-setosa"
40
1.5
0.2
5.1
3.4
"Iris-setosa"
41
1.3
0.3
5
3.5
"Iris-setosa"
42
1.3
0.3
4.5
2.3
"Iris-setosa"
43
1.3
0.2
4.4
3.2
"Iris-setosa"
44
1.6
0.6
5
3.5
"Iris-setosa"
45
1.9
0.4
5.1
3.8
"Iris-setosa"
46
1.4
0.3
4.8
3
"Iris-setosa"
47
1.6
0.2
5.1
3.8
"Iris-setosa"
48
1.4
0.2
4.6
3.2
"Iris-setosa"
49
1.5
0.2
5.3
3.7
"Iris-setosa"
50
1.4
0.2
5
3.3
"Iris-setosa"
51
4.7
1.4
7
3.2
"Iris-versicolor"
52
4.5
1.5
6.4
3.2
"Iris-versicolor"
53
4.9
1.5
6.9
3.1
"Iris-versicolor"
54
4
1.3
5.5
2.3
"Iris-versicolor"
55
4.6
1.5
6.5
2.8
"Iris-versicolor"
56
4.5
1.3
5.7
2.8
"Iris-versicolor"
57
4.7
1.6
6.3
3.3
"Iris-versicolor"
58
3.3
1
4.9
2.4
"Iris-versicolor"
59
4.6
1.3
6.6
2.9
"Iris-versicolor"
60
3.9
1.4
5.2
2.7
"Iris-versicolor"
61
3.5
1
5
2
"Iris-versicolor"
62
4.2
1.5
5.9
3
"Iris-versicolor"
63
4
1
6
2.2
"Iris-versicolor"
64
4.7
1.4
6.1
2.9
"Iris-versicolor"
65
3.6
1.3
5.6
2.9
"Iris-versicolor"
66
4.4
1.4
6.7
3.1
"Iris-versicolor"
67
4.5
1.5
5.6
3
"Iris-versicolor"
68
4.1
1
5.8
2.7
"Iris-versicolor"
69
4.5
1.5
6.2
2.2
"Iris-versicolor"
70
3.9
1.1
5.6
2.5
"Iris-versicolor"
71
4.8
1.8
5.9
3.2
"Iris-versicolor"
72
4
1.3
6.1
2.8
"Iris-versicolor"
73
4.9
1.5
6.3
2.5
"Iris-versicolor"
74
4.7
1.2
6.1
2.8
"Iris-versicolor"
75
4.3
1.3
6.4
2.9
"Iris-versicolor"
76
4.4
1.4
6.6
3
"Iris-versicolor"
77
4.8
1.4
6.8
2.8
"Iris-versicolor"
78
5
1.7
6.7
3
"Iris-versicolor"
79
4.5
1.5
6
2.9
"Iris-versicolor"
80
3.5
1
5.7
2.6
"Iris-versicolor"
81
3.8
1.1
5.5
2.4
"Iris-versicolor"
82
3.7
1
5.5
2.4
"Iris-versicolor"
83
3.9
1.2
5.8
2.7
"Iris-versicolor"
84
5.1
1.6
6
2.7
"Iris-versicolor"
85
4.5
1.5
5.4
3
"Iris-versicolor"
86
4.5
1.6
6
3.4
"Iris-versicolor"
87
4.7
1.5
6.7
3.1
"Iris-versicolor"
88
4.4
1.3
6.3
2.3
"Iris-versicolor"
89
4.1
1.3
5.6
3
"Iris-versicolor"
90
4
1.3
5.5
2.5
"Iris-versicolor"
91
4.4
1.2
5.5
2.6
"Iris-versicolor"
92
4.6
1.4
6.1
3
"Iris-versicolor"
93
4
1.2
5.8
2.6
"Iris-versicolor"
94
3.3
1
5
2.3
"Iris-versicolor"
95
4.2
1.3
5.6
2.7
"Iris-versicolor"
96
4.2
1.2
5.7
3
"Iris-versicolor"
97
4.2
1.3
5.7
2.9
"Iris-versicolor"
98
4.3
1.3
6.2
2.9
"Iris-versicolor"
99
3
1.1
5.1
2.5
"Iris-versicolor"
100
4.1
1.3
5.7
2.8
"Iris-versicolor"
End of preview (truncated to 100 rows)

Iris Species Dataset

The Iris dataset was used in R.A. Fisher's classic 1936 paper, The Use of Multiple Measurements in Taxonomic Problems, and can also be found on the UCI Machine Learning Repository.

It includes three iris species with 50 samples each as well as some properties about each flower. One flower species is linearly separable from the other two, but the other two are not linearly separable from each other. The dataset is taken from UCI Machine Learning Repository's Kaggle. The following description is taken from UCI Machine Learning Repository. This is perhaps the best known database to be found in the pattern recognition literature. Fisher's paper is a classic in the field and is referenced frequently to this day. (See Duda & Hart, for example.) The data set contains 3 classes of 50 instances each, where each class refers to a type of iris plant. One class is linearly separable from the other 2; the latter are NOT linearly separable from each other.

Predicted attribute: class of iris plant.

This is an exceedingly simple domain.

This data differs from the data presented in Fishers article (identified by Steve Chadwick, spchadwick '@' espeedaz.net ). The 35th sample should be: 4.9,3.1,1.5,0.2,"Iris-setosa" where the error is in the fourth feature. The 38th sample: 4.9,3.6,1.4,0.1,"Iris-setosa" where the errors are in the second and third features.

Features in this dataset are the following:

  • sepal length in cm
  • sepal width in cm
  • petal length in cm
  • petal width in cm
  • class:
    • Iris Setosa
    • Iris Versicolour
    • Iris Virginica
Downloads last month
76
Edit dataset card
Evaluate models HF Leaderboard

Models trained or fine-tuned on scikit-learn/iris