class_docstr: A parent class for DRIV-learner regressor classes.
  
  A DRIV-learner estimates endogenous treatment effects for compliers with machine learning models.
  
  Details of DR-learner are available at Kennedy (2020) (https://arxiv.org/abs/2004.14497).
  The DR moment condition for LATE comes from Chernozhukov et al (2018) (https://academic.oup.com/ectj/article/21/1/C1/5056401).
code: def __repr__(self):
      return (
          "{}(control_outcome_learner={},\n"
          "\ttreatment_outcome_learner={},\n"
          "\ttreatment_effect_learner={})".format(
              self.__class__.__name__,
              self.model_mu_c.__repr__(),
              self.model_mu_t.__repr__(),
              self.model_tau.__repr__(),
          )
      )
  
imports: import logging
  from copy import deepcopy
  import numpy
  import pandas
  from causalml.inference.meta.explainer import Explainer
  from causalml.inference.meta.utils import check_treatment_vector, check_p_conditions, convert_pd_to_np
  from causalml.metrics import regression_metrics, classification_metrics
  from causalml.propensity import compute_propensity_score
  from scipy.stats import norm
  from sklearn.model_selection import cross_val_predict, KFold
  from tqdm import tqdm
  from xgboost import XGBRegressor
label_desc: Use image node_id 2 for calling the BaseDRIVLearner obj's underlying member method code with example usage: obj.__repr__() and returns: str