class_docstr: Class implementing the Learner in the FairFictPlay algorithm for rich subgroup fairness in [KRNW18].
      
docstr: Return a RegOracle solving a CSC problem.
  
  Args:
      :param costs_0: costs for labeling points 0 in the CSC problem of the learner
      :param costs_1: costs for labeling points 1 in the CSC problem of the learner
  
  Returns:
      :return: object of class RegOracle solving the CSC problem
docstr_tok: ["Return","a","RegOracle","solving","a","CSC","problem",".","Args",":",":","param","costs_0",":","costs","for","labeling","points","0","in","the","CSC","problem","of","the","learner",":","param","costs_1",":","costs","for","labeling","points","1","in","the","CSC","problem","of","the","learner","Returns",":",":","return",":","object","of","class","RegOracle","solving","the","CSC","problem"]
code: def best_response(self, costs_0, costs_1):
      """Return a RegOracle solving a CSC problem.
  
      Args:
          :param costs_0: costs for labeling points 0 in the CSC problem of the learner
          :param costs_1: costs for labeling points 1 in the CSC problem of the learner
  
      Returns:
          :return: object of class RegOracle solving the CSC problem
      """
      reg0 = copy.deepcopy(self.predictor)
      reg0.fit(self.X, costs_0)
      reg1 = copy.deepcopy(self.predictor)
      reg1.fit(self.X, costs_1)
      func = RegOracle(reg0, reg1)
      return func
  
imports: import numpy
  import copy
  from aif360.algorithms.inprocessing.gerryfair.reg_oracle_class import RegOracle
label_desc: Use image node_id 2 for calling the Learner obj's underlying member method code with example usage: obj.best_response(costs_0, costs_1) and returns: func