Bases: object
object
Prepare and Explore Data.
This is the first step to explore the source data and to become familiar with the data.
Methods
__init__
cnt_imgs
Count images by the category of the labels.
samp_imgs
Show sample images from the category of each label.
Grouping the dataframe by the column ‘label’.
Sampling 3 images from each group.
Shuffling the order of the new dataframe.
Creating a plot with 3x2 figures.
Loading the sample images.
Plotting the figures.