Exercise

Digits features

Let's continue exploring the dataset. Firstly, it would be helpful to know how many different digits are present by computing a histogram of the labels. Next, the basic statistics (min, mean, median, maximum) of the features for all digits can be calculated. Finally, you will compute the basic statistics for only those digits with label 0.

The MNIST sample data is loaded for you as mnist_sample.

Instructions

100 XP
  • Plot the histogram of the digit label from the mnist_sample dataset.
  • Compute the basic statistics of all records.
  • Compute the basic statistics of only those digits that have label 0.