class_docstr: This class computes a set of feature balance measures that allow us to see
  whether each combination of a feature is receiving the positive outcome
  (true prediction) at balanced probability.
docstr: Construct a FeatureBalanceMeasures class for calculating
  feature balance measures on a dataset.
  
  :param cols_of_interest: The list of columns to compute
      feature balance measures on.
  :type cols_of_interest: List[str]
  :param label_col: The name of the label column.
  :type label_col: str
  :param pos_label: The label value that denotes a positive label.
  :type pos_label: str
docstr_tok: ["Construct","a","FeatureBalanceMeasures","class","for","calculating","feature","balance","measures","on","a","dataset",".",":","param","cols_of_interest",":","The","list","of","columns","to","compute","feature","balance","measures","on",".",":","type","cols_of_interest",":","List","[","str","]",":","param","label_col",":","The","name","of","the","label","column",".",":","type","label_col",":","str",":","param","pos_label",":","The","label","value","that","denotes","a","positive","label",".",":","type","pos_label",":","str"]
code: def __init__(
      self, cols_of_interest: List[str], label_col: str, pos_label: str
  ) -> None:
      """
      Construct a FeatureBalanceMeasures class for calculating
      feature balance measures on a dataset.
  
      :param cols_of_interest: The list of columns to compute
          feature balance measures on.
      :type cols_of_interest: List[str]
      :param label_col: The name of the label column.
      :type label_col: str
      :param pos_label: The label value that denotes a positive label.
      :type pos_label: str
      """
      super().__init__(cols_of_interest=cols_of_interest)
      self.label_col = label_col
      self.pos_label = pos_label
  
imports: import itertools
  import warnings
  from typing import Callable, Dict, List, Tuple
  import numpy
  import pandas
  import scipy
  from responsibleai.databalanceanalysis.balance_measures import BalanceMeasures
  from responsibleai.databalanceanalysis.constants import Constants, Measures
label_desc: Use image node_id 1 to create a new FeatureBalanceMeasures object from inherited base classes: BalanceMeasures with example: obj = FeatureBalanceMeasures(cols_of_interest, label_col, pos_label)