code: def test_compute_transforms_and_sets_data_balance_measures(
      self, adult_data
  ):
      (
          train_df,
          test_df,
          categorical_cols,
          target_col,
          classes,
      ) = adult_data
  
      manager = DataBalanceManager(
          train=train_df,
          test=test_df,
          target_column=target_col,
          classes=classes,
          task_type=TaskType.CLASSIFICATION,
      )
      manager.add(cols_of_interest=categorical_cols)
  
      assert manager._data_balance_measures is None
      manager.compute()
      assert manager._data_balance_measures is not None
  
imports: import pandas
  import pytest
  from pandas.testing import assert_frame_equal
  from responsibleai._interfaces import TaskType
  from responsibleai.databalanceanalysis.data_balance_utils import AGGREGATE_BALANCE_MEASURES_KEY, DISTRIBUTION_BALANCE_MEASURES_KEY, FEATURE_BALANCE_MEASURES_KEY
  from responsibleai.managers.data_balance_manager import DataBalanceManager
  from responsibleai.rai_insights.rai_insights import RAIInsights
label_desc: Use image node_id 9 for calling the TestDataBalanceManager obj's underlying member method code with example usage: obj.test_compute_transforms_and_sets_data_balance_measures(adult_data) without return types