x_iris {ascentTraining} | R Documentation |
Iris predictors data for Species classification
Description
This data was taken from Edgar Anderson's famous iris data set. This gives the measurements (in centimeters)
of the variables sepal length and width and petal length and width, respectively, for 50 flowers from each of 3 species of iris.
The species are Iris setosa, versicolor, and virginica. However, the species is seen as the target variable, and as such
has been removed from this dataset, whilst being added to the counterpart y_iris
dataset. Furthermore, the 4 remaining
'predictor' variables have been separated into a training and test set with a ratio of 4:1, followed by centering and scaling.
Usage
x_iris
Format
A list of two named matrices, 'train' and 'test', representing the training and test sets for the predictors. These have 4 columns each, with 120 and 30 rows respectively.
Sepal.Length
Sepal length
Sepal.Width
Sepal width
Petal.Length
Petal length
Petal.Width
Petal width
Source
Fisher, R. A. (1936) The use of multiple measurements in taxonomic problems. Annals of Eugenics, 7, Part II, 179-188. The data were collected by Anderson, Edgar (1935). The irises of the Gaspe Peninsula, Bulletin of the American Iris Society, 59, 2-5
References
Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988) The New S Language. Wadsworth & Brooks/Cole.