What are Iris dataset features?

QuestionsQuestions8 SkillsProDec, 10 2025
058

The Iris dataset features are the measurements taken for each flower. In the context of the iris.data array, these are the individual columns.

As the current step explains, the iris object conveniently stores the names of these features in the iris.feature_names attribute.

Once you modify your main.py file as shown in the step and run it, you will see the explicit names of these four features, which are:

  • Sepal Length (in cm)
  • Sepal Width (in cm)
  • Petal Length (in cm)
  • Petal Width (in cm)

These are the characteristics used to describe and differentiate between the different Iris species!

0 Comments

no data
Be the first to share your comment!