code: def __init__(
      self,
      crop_size,
      class_ratio,
      num_samples,
      seed,
      sample_type=SampleType.DICT,
  ):
      self.crop_size = crop_size
      # User Defined Class Imbalace Ratio
      self.class_ratio = class_ratio
      self.num_samples = num_samples
      self.seed = seed
      self.sample_type = sample_type
  
file_path: ClassyVision/classy_vision/dataset/core/random_image_datasets.py
imports: from enum import Enum
  import numpy
  from PIL import Image
  from ...generic.util import numpy_seed
label_desc: Use image node_id 1 to create a new RandomImageBinaryClassDataset object  with example: obj = RandomImageBinaryClassDataset(crop_size, class_ratio, num_samples, seed, sample_type)