class_docstr: A class for defining risk measures.
  
  This can be used with a `RobustSearchSpace`, to convert the predictions over
  `ParameterDistribution`s to robust metrics, which then get used in candidate
  generation to recommend robust candidates.
  
  See `ax/modelbridge/modelbridge_utils.py` for `RISK_MEASURE_NAME_TO_CLASS`,
  which lists the supported risk measures, and for `extract_risk_measure`
  helper, which extracts the BoTorch risk measure.
class_docstr_tok: ["A","class","for","defining","risk","measures",".","This","can","be","used","with","a","`","RobustSearchSpace","`",",","to","convert","the","predictions","over","`","ParameterDistribution","`","s","to","robust","metrics",",","which","then","get","used","in","candidate","generation","to","recommend","robust","candidates",".","See","`","ax\/modelbridge\/modelbridge_utils.py","`","for","`","RISK_MEASURE_NAME_TO_CLASS","`",",","which","lists","the","supported","risk","measures",",","and","for","`","extract_risk_measure","`","helper",",","which","extracts","the","BoTorch","risk","measure","."]
docstr: Clone.
docstr_tok: ["Clone","."]
code: def clone(self) -> RiskMeasure:
      """Clone."""
      return RiskMeasure(
          risk_measure=self.risk_measure,
          options=deepcopy(self.options),
      )
  
file_path: Ax/ax/core/risk_measures.py
imports: from __future__ import annotations
  from copy import deepcopy
  from typing import Dict, List, Union
  from ax.utils.common.base import SortableBase
  from ax.utils.common.equality import equality_typechecker
label_desc: Use image node_id 2 for calling the RiskMeasure obj's underlying member method code with example usage: obj.clone() and returns: RiskMeasure