source: prdatasets/iris.m @ 153

Last change on this file since 153 was 138, checked in by bduin, 5 years ago
File size: 854 bytes
RevLine 
[80]1%IRIS 150 objects with 4 features in 3 classes
2%
3%  A = IRIS
4%
5% Iris plants dataset by R.A.Fisher, 150 objects, 4 features, 3
6% classes.
7
[137]8function a = iris
[80]9
[137]10a = pr_loadmatfile;
11if isempty(a)
12  opt.labfeat    = 5;
13  opt.featnames  = {'sepal length' 'sepal width' 'petal length' 'petal width'};
14  opt.classnames = {'Iris-setosa' 'Iris-versicolor' 'Iris-virginica'};
15  opt.desc       = 'Iris Plant database from UCI. A classic dataset in the pattern recognition literature.  The original dataset is a multiclass classification problem, introduced by R.A. Fisher, The use of multiple measurements in taxonomic problems. Ann Eugenics, 7:179--188, 1936.';
16  opt.link       = 'ftp://ftp.ics.uci.edu/pub/machine-learning-databases/iris/';
[138]17  opt.dsetname   = 'Iris Dataset';
[137]18  a = pr_download('http://prtools.tudelft.nl/prdatasets/iris.dat',[],opt);
19end
[80]20
21return
Note: See TracBrowser for help on using the repository browser.