course content

Course Content

Python for Data Science: Handwritten Digits Recognition

The Categories  in the Data MatrixThe Categories in the Data Matrix

How are the records of the categories distributed in the data matrix?

It is important to verify whether the entries belonging to a certain category are distributed randomly in row indices or if they accumulate in some way.


  1. Import numpy as np;
  2. Use the histplot to plot histograms;
  3. Plot the data where the following expression is True: np.where(Y==digit)[0].

Everything was clear?

Section 1. Chapter 5