This is an archived version of the course. Please find the latest version of the course on the main webpage.

Chapter 4: Understanding your features

Obtaining some statistics

face Josiah Wang

A third question…

Question 3: What is the range of each attribute? And mean/median/standard deviation?

The next item you can do to understand the features better is to get some statistics on them.

For example,

  • What is the minimum and maximum values for each feature/attribute?
  • What is the mean, median and standard deviation for each?

This information will help you understand your features better.

You can use NumPy to compute this. I will not give you the solutions to this, but will let you practise your NumPy skills here. Check out the NumPy lessons if you need a refresher!