class_docstr: Single-outcome acquisition function regularized by the given penalty.
  
  The usage is similar to:
      raw_acqf = NoisyExpectedImprovement(...)
      penalty = GroupLassoPenalty(...)
      acqf = PenalizedAcquisitionFunction(raw_acqf, penalty)
docstr: Initializing Group-Lasso regularization.
  
  Args:
      raw_acqf: The raw acquisition function that is going to be regularized.
      penalty_func: The regularization function.
      regularization_parameter: Regularization parameter used in optimization.
docstr_tok: ["Initializing","Group-Lasso","regularization",".","Args",":","raw_acqf",":","The","raw","acquisition","function","that","is","going","to","be","regularized",".","penalty_func",":","The","regularization","function",".","regularization_parameter",":","Regularization","parameter","used","in","optimization","."]
code: def __init__(
      self,
      raw_acqf: AcquisitionFunction,
      penalty_func: torch.nn.Module,
      regularization_parameter: float,
  ) -> None:
      r"""Initializing Group-Lasso regularization.
  
      Args:
          raw_acqf: The raw acquisition function that is going to be regularized.
          penalty_func: The regularization function.
          regularization_parameter: Regularization parameter used in optimization.
      """
      super().__init__(model=raw_acqf.model)
      self.raw_acqf = raw_acqf
      self.penalty_func = penalty_func
      self.regularization_parameter = regularization_parameter
  
imports: from __future__ import annotations
  import math
  from typing import Any, Callable, List, Optional
  import torch
  from botorch.acquisition.acquisition import AcquisitionFunction
  from botorch.acquisition.analytic import AnalyticAcquisitionFunction
  from botorch.acquisition.objective import GenericMCObjective
  from botorch.exceptions import UnsupportedError
  from torch import Tensor
label_desc: Use image node_id 1 to create a new PenalizedAcquisitionFunction object from inherited base classes: AcquisitionFunction with example: obj = PenalizedAcquisitionFunction(raw_acqf, penalty_func, regularization_parameter)