brjapon commited on
Commit
906a289
·
1 Parent(s): fdd089f

Extended README

Browse files
Files changed (1) hide show
  1. README.md +68 -16
README.md CHANGED
@@ -12,24 +12,76 @@ size_categories:
12
  ---
13
  license: cc0-1.0
14
  ---
15
- ## Iris Species Dataset
16
 
17
- 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.
 
18
 
19
- 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.
20
- The dataset is taken from [UCI Machine Learning Repository's Kaggle](https://www.kaggle.com/datasets/uciml/iris).
21
- The following description is taken from UCI Machine Learning Repository.
22
- 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.
23
 
24
- **Predicted attribute**: class of iris plant
 
25
 
26
- **Features** in this dataset are the following:
 
 
 
 
 
27
 
28
- - sepal length in cm
29
- - sepal width in cm
30
- - petal length in cm
31
- - petal width in cm
32
- - class:
33
- - Iris Setosa
34
- - Iris Versicolour
35
- - Iris Virginica
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  ---
13
  license: cc0-1.0
14
  ---
 
15
 
16
+ # Iris Species Dataset
17
+ The **Iris dataset** is a classic dataset in machine learning, originally published by Ronald Fisher. It contains 150 instances of iris flowers, each described by four features (sepal length, sepal width, petal length, and petal width), along with the corresponding species label (`setosa`, `versicolor`, or `virginica`).
18
 
19
+ It is commonly used as an introductory dataset for classification tasks and for demonstrating basic data exploration and model training workflows.
 
 
 
20
 
21
+ **Supported Tasks and Leaderboards**
22
+ - **Multi-class Classification**: Predict the species of the iris flower based on its four numeric features.
23
 
24
+ ## Dataset Structure
25
+ The features are:
26
+ - **sepal_length** (`float`): Length of the sepal in centimeters
27
+ - **sepal_width** (`float`): Width of the sepal in centimeters
28
+ - **petal_length** (`float`): Length of the petal in centimeters
29
+ - **petal_width** (`float`): Width of the petal in centimeters
30
 
31
+ The target variable is **species** (`string`). Labels ares:
32
+ - `setosa`
33
+ - `versicolor`
34
+ - `virginica`
35
+
36
+ This dataset traditionally comes as a single collection of 150 rows.
37
+
38
+ ## Background
39
+ The Iris dataset was first introduced by Ronald Fisher in 1936 and later became known through UCI Machine Learning Repository. This version was obtained from the [UCI Machine Learning Repository's Kaggle](https://www.kaggle.com/datasets/uciml/iris)
40
+
41
+ Source Data:
42
+ - **Repository**: [UCI Machine Learning Repository](https://archive.ics.uci.edu/ml/datasets/iris)
43
+ - **Original Paper**: R. A. Fisher (1936). “The Use of Multiple Measurements in Taxonomic Problems.” *Annals of Eugenics* 7 (2): 179–188.
44
+
45
+ ## Citation
46
+ Fisher’s original publication:
47
+ ```
48
+ @article{fisher1936use,
49
+ title={The use of multiple measurements in taxonomic problems},
50
+ author={Fisher, Ronald Aylmer},
51
+ journal={Annals of eugenics},
52
+ volume={7},
53
+ number={2},
54
+ pages={179--188},
55
+ year={1936},
56
+ publisher={Wiley Online Library}
57
+ }
58
+ ```
59
+
60
+ ## Usage Example
61
+
62
+ Here’s a minimal example in Python using the [datasets](https://github.com/huggingface/datasets) library:
63
+
64
+ ```python
65
+ from datasets import load_dataset
66
+
67
+ # If this dataset is hosted under "username/iris-dataset"
68
+ dataset = load_dataset("username/iris-dataset")
69
+
70
+ # The dataset might contain a default split or just one split
71
+ df = dataset["train"].to_pandas()
72
+
73
+ print(df.head())
74
+ ```
75
+
76
+ Or using Scikit-Learn’s built-in functionality:
77
+
78
+ ```python
79
+ from sklearn.datasets import load_iris
80
+
81
+ iris = load_iris()
82
+ X = iris.data # shape (150, 4)
83
+ y = iris.target # shape (150,)
84
+ ```
85
+
86
+ ## Limitations and Potential Bias
87
+ The dataset contains only three iris species from a limited geographic region (the Gaspe Peninsula in Canada). It is quite small (150 samples) and was originally collected for a statistical illustration rather than real-world machine learning applications. It serves primarily as a simple demonstration dataset and is not representative of broader botanical diversity.