code: def _get_penalty(self):
      penalties = {
          "l1": 1,
          "l2": 2,
      }
      return penalties[self.penalty]
  
imports: import numpy
  from joblib import Parallel, delayed
  from .base import BaseClassifier
  from .base import BaseRegressor
  from .dataset_fast import get_dataset
  from .primal_cd_fast import _primal_cd
  from .primal_cd_fast import Squared
  from .primal_cd_fast import SmoothHinge
  from .primal_cd_fast import SquaredHinge
  from .primal_cd_fast import ModifiedHuber
  from .primal_cd_fast import Log
label_desc: Use image node_id 3 for calling the _BaseCD obj's underlying member method code with example usage: obj._get_penalty() and returns: penalties