code: def ratio_func(y, multiplier, minority_class):
      target_stats = Counter(y)
      return {
          minority_class: int(multiplier * target_stats[minority_class])
      }
  
imports: import seaborn
  import matplotlib.pyplot
  import pandas
  from sklearn.datasets import make_moons
  from collections import Counter
  from imblearn.datasets import make_imbalance
label_desc: Use image node_id 1 for calling a global function with example usage: ratio_func(y, multiplier, minority_class) and returns: dict