ArticleslgStudy

mathematics

Iris flower data set

Iris flower data set is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Iris flower data set rather than just read about it. In short: The Iris flower data set or Fisher's Iris data set is a multivariate data set used and made famous by the British statistician and biologist Ronald Fisher in his 1936 paper The use of multiple measurements in taxonomic problems as an example of linear discriminant analysis. It is sometimes called Anderson's Iris data set because Edgar Anderson collected the data to quantify the morphologic variation of Iris flowers…

Iris flower data set — main illustration
Iris flower data set — illustration

Key takeaways

  • Iris flower data set belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Iris flower data set to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Iris flower data set from memory before moving on to harder problems.

Reference excerpt

The Iris flower data set or Fisher's Iris data set is a multivariate data set used and made famous by the British statistician and biologist Ronald Fisher in his 1936 paper The use of multiple measurements in taxonomic problems as an example of linear discriminant analysis. It is sometimes called Anderson's Iris data set because Edgar Anderson collected the data to quantify the morphologic variation of Iris flowers of three related species. Two of the three species were collected in the Gaspé Peninsula "all from the same pasture, and picked on the same day and measured at the same time by the same person with the same apparatus". The data set consists of 50 samples from each of three species of Iris (Iris setosa, Iris virginica and Iris versicolor). Four features were measured from each sample: the length and the width of the sepals and petals, in centimeters. Based on the combination of these four features, Fisher developed a linear discriminant model to distinguish each species. Fisher's paper was published in the Annals of Eugenics (today the Annals of Human Genetics).

Use of the data set

Originally used as an example data set on which Fisher's linear discriminant analysis was applied, it became a typical test case for many statistical classification techniques in machine learning such as support vector machines. The use of this data set in cluster analysis however is not common, since the data set only contains two clusters with rather obvious separation. One of the clusters contains Iris setosa, while the other cluster contains both Iris virginica and Iris versicolor and is not separable without the species information Fisher used. This makes the data set a useful example for explaining the difference between supervised and unsupervised techniques in data mining: Fisher's linear discriminant model can only be obtained when the object species are known, and class labels and clusters are not necessarily the same. Nevertheless, all three species of Iris are separable in the projection on the nonlinear and branching principal component. The data set is approximated by the closest tree with some penalty for the excessive number of nodes, bending and stretching. A so-called "metro map" is then constructed. The data points are projected onto the closest node. For each node, a pie diagram of the projected points is prepared. The area of the pie is proportional to the number of the projected points. The diagram (left) shows that the large majority of the samples of the different Iris species belong to different nodes. Only a small fraction of Iris virginica is mixed with Iris versicolor (the mixed blue-green nodes in the diagram). Therefore, the three species of Iris (Iris setosa, Iris virginica and Iris versicolor) are separable by the unsupervised procedures of nonlinear principal component analysis. To discriminate them, it is sufficient to select the corresponding nodes on the principal tree.

Data set The data set contains a set of 150 records under five attributes: sepal length, sepal width, petal length, petal width and species.

The iris data set is widely used as an introductory data set for machine learning purposes. The data set is included in R base and in the Python machine learning library scikit-learn, so that users can access it without having to find a source for it. Several versions of the data set have been published.

R code illustrating usage The example R code shown below reproduces the scatterplot displayed at the top of this article:

Python code illustrating usage

This code gives:

See also Classic data sets List of datasets for machine-learning research

References

External links "Fisher's Iris Data". (Contains two errors which are documented). UCI Machine Learning Repository: Iris Data Set.

Illustrations

Iris flower data set: Scatterplot of the data set
Scatterplot of the data set
Iris flower data set: Unsatisfactory k-means clustering (the data cannot be clustered into the known classes) and actual species visualized using ELKI
Unsatisfactory k-means clustering (the data cannot be clustered into the known classes) and actual species visualized using ELKI
Iris flower data set: An example of the so-called "metro map" for the Iris data set[4] Only a small fraction of Iris-virginica is mixed with Iris-versicolor. All other samples of the different Iris species belong to the different nodes.
An example of the so-called "metro map" for the Iris data set[4] Only a small fraction of Iris-virginica is mixed with Iris-versicolor. All other samples of the different Iris species belong to the different nodes.
Iris flower data set: Iris setosa
Iris setosa
Iris flower data set: Iris versicolor
Iris versicolor

Worked examples

Example 1 — a first encounter with Iris flower data set

Start with the simplest possible case. Write down what Iris flower data set claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Iris flower data set before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Iris flower data set ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Iris flower data set

In research
Iris flower data set appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Iris flower data set in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Iris flower data set is common in secondary-school and first-year university syllabi. It links to neighbouring topics Datasets in machine learning, Ronald Fisher, Statistical data sets, so understanding it makes those chapters shorter.
In everyday life
Look for Iris flower data set outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Iris flower data set” →

How to study Iris flower data set in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Iris flower data set means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Iris flower data set out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Iris flower data set in simple terms?

The Iris flower data set or Fisher's Iris data set is a multivariate data set used and made famous by the British statistician and biologist Ronald Fisher in his 1936 paper The use of multiple measurements in taxonomic problems as an example of linear discriminant analysis. It is sometimes called A…

Why does Iris flower data set matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Iris flower data set?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Iris flower data set.

Tags

  • Datasets in machine learning
  • Ronald Fisher
  • Statistical data sets

Keep exploring