def METHOD_NAME(self):
    if not self.use_stats:
        return
    # get the class mask (each pixel contains the classID for that grid cell)
    self.net.Mask(self.class_mask, self.grid_width, self.grid_height)
    # compute the number of times each class occurs in the mask
    class_histogram, _ = np.histogram(self.class_mask_np, bins=self.num_classes, range=(0, self.num_classes-1))
    print('grid size:   {:d}x{:d}'.format(self.grid_width, self.grid_height))
    print('num classes: {:d}'.format(self.num_classes))
    print('-----------------------------------------')
    print(' ID  class name        count     %')
    print('-----------------------------------------')
    for n in range(self.num_classes):
        percentage = float(class_histogram[n]) / float(self.grid_width * self.grid_height)
        print(' {:>2d}  {:<18s} {:>3d}   {:f}'.format(n, self.net.GetClassDesc(n), class_histogram[n], percentage)) 