class_docstr: Base class for sampling algorithms.
  
  Warning: This class should not be used directly. Use the derive classes
  instead.
code: def __init__(self, sampling_strategy="auto"):
      self.sampling_strategy = sampling_strategy
  
imports: from abc import ABCMeta, abstractmethod
  from typing import List, Optional
  import numpy
  from sklearn.base import BaseEstimator
  from sklearn.preprocessing import label_binarize
  from sklearn.utils.multiclass import check_classification_targets
  from .utils import check_sampling_strategy, check_target_type
  from .utils import ArraysTransformer
label_desc: Use image node_id 1 to create a new BaseSampler object from inherited base classes: SamplerMixin with example: obj = BaseSampler(sampling_strategy)