14 Data: iris

  • Set the current working directory to read the data file
  • Check all objects in the current working directory
  • R base format of data is data.frame
  • In Python, we need to load pandas library

14.1 A view of iris data

Download the iris data.

Iris data:

The data include four numeric features:

  • Sepal length in cm (SepalLength)
  • Sepal width in cm (SepalWidth)
  • Petal length in cm (PetalLength)
  • Petal width in cm (PetalWidth)

The categorical variable is Species with three levels: - setosa, versicolor, virginica