|
131 | 131 | "text": [
|
132 | 132 | "## iris_data\n",
|
133 | 133 | "\n",
|
134 |
| - "*iris_data()*\n", |
| 134 | + "*iris_data(version='uci')*\n", |
135 | 135 | "\n",
|
136 | 136 | "Iris flower dataset.\n",
|
137 | 137 | "\n",
|
|
153 | 153 | " - 3) petal length [cm]\n",
|
154 | 154 | " - 4) petal width [cm]\n",
|
155 | 155 | "\n",
|
| 156 | + "\n", |
| 157 | + "**Parameters**\n", |
| 158 | + "\n", |
| 159 | + "- `version` : string, optional (default: 'uci').\n", |
| 160 | + "\n", |
| 161 | + " Version to use {'uci', 'corrected'}. 'uci' loads the dataset\n", |
| 162 | + " as deposited on the UCI machine learning repository, and\n", |
| 163 | + " 'corrected' provides the version that is consistent with\n", |
| 164 | + " Fisher's original paper. See Note for details.\n", |
| 165 | + "\n", |
| 166 | + "\n", |
156 | 167 | "**Returns**\n",
|
157 | 168 | "\n",
|
158 | 169 | "- `X, y` : [n_samples, n_features], [n_class_labels]\n",
|
|
167 | 178 | "\n",
|
168 | 179 | "The Iris dataset (originally collected by Edgar Anderson) and\n",
|
169 | 180 | " available in UCI's machine learning repository is different from\n",
|
170 |
| - " the Iris dataset available in R(and the one in the original paper\n", |
171 |
| - " by R.A. Fisher [1]). Precisely, there are two data points(row number\n", |
| 181 | + " the Iris dataset described in the original paper by R.A. Fisher [1]).\n", |
| 182 | + " Precisely, there are two data points (row number\n", |
172 | 183 | " 34 and 37) in UCI's Machine Learning repository are different from the\n",
|
173 |
| - " Iris dataset in R (and the one in the original Fisher paper).\n", |
| 184 | + " origianlly published Iris dataset. Also, the original version of the Iris\n", |
| 185 | + " Dataset, which can be loaded via `version='corrected'` is the same\n", |
| 186 | + " as the one in R.\n", |
174 | 187 | "\n",
|
175 | 188 | " [1] . A. Fisher (1936). \"The use of multiple measurements in taxonomic\n",
|
176 | 189 | " problems\". Annals of Eugenics. 7 (2): 179–188\n",
|
|
193 | 206 | "metadata": {
|
194 | 207 | "anaconda-cloud": {},
|
195 | 208 | "kernelspec": {
|
196 |
| - "display_name": "mlxtend_dev", |
| 209 | + "display_name": "Python 3", |
197 | 210 | "language": "python",
|
198 |
| - "name": "mlxtend_dev" |
| 211 | + "name": "python3" |
199 | 212 | },
|
200 | 213 | "language_info": {
|
201 | 214 | "codemirror_mode": {
|
|
207 | 220 | "name": "python",
|
208 | 221 | "nbconvert_exporter": "python",
|
209 | 222 | "pygments_lexer": "ipython3",
|
210 |
| - "version": "3.6.8" |
| 223 | + "version": "3.7.1" |
211 | 224 | },
|
212 | 225 | "toc": {
|
213 | 226 | "nav_menu": {},
|
|
223 | 236 | }
|
224 | 237 | },
|
225 | 238 | "nbformat": 4,
|
226 |
| - "nbformat_minor": 1 |
| 239 | + "nbformat_minor": 2 |
227 | 240 | }
|
0 commit comments