class_docstr: Optimized preprocessing is a preprocessing technique that learns a
  probabilistic transformation that edits the features and labels in the data
  with group fairness, individual distortion, and data fidelity constraints
  and objectives [3]_.
  
  References:
      .. [3] F. P. Calmon, D. Wei, B. Vinzamuri, K. Natesan Ramamurthy, and
         K. R. Varshney. "Optimized Pre-Processing for Discrimination
         Prevention." Conference on Neural Information Processing Systems,
         2017.
  
  Based on code available at: https://github.com/fair-preprocessing/nips2017
class_docstr_tok: ["Optimized","preprocessing","is","a","preprocessing","technique","that","learns","a","probabilistic","transformation","that","edits","the","features","and","labels","in","the","data","with","group","fairness",",","individual","distortion",",","and","data","fidelity","constraints","and","objectives","[","3","]","_.","References",":","..","[","3","]","F.","P.","Calmon",",","D.","Wei",",","B.","Vinzamuri",",","K.","Natesan","Ramamurthy",",","and","K.","R.","Varshney",".","``","Optimized","Pre-Processing","for","Discrimination","Prevention",".","''","Conference","on","Neural","Information","Processing","Systems",",","2017",".","Based","on","code","available","at",":","https",":","\/\/github.com\/fair-preprocessing\/nips2017"]
docstr: Perfom :meth:`fit` and :meth:`transform` sequentially.
docstr_tok: ["Perfom",":","meth",":","`","fit","`","and",":","meth",":","`","transform","`","sequentially","."]
code: def fit_transform(self, dataset, sep="=", transform_Y=True):
      """Perfom :meth:`fit` and :meth:`transform` sequentially."""
  
      return self.fit(dataset, sep=sep).transform(
          dataset, sep=sep, transform_Y=transform_Y
      )
  
file_path: AIF360/aif360/algorithms/preprocessing/optim_preproc.py
imports: from warnings import warn
  import numpy
  import pandas
  from aif360.algorithms import Transformer
  from aif360.datasets import BinaryLabelDataset
label_desc: Use image node_id 4 for calling the OptimPreproc obj's underlying member method code with example usage: obj.fit_transform(dataset, sep, transform_Y) and returns: self