class_docstr: Horseshoe Prior as it is used in spearmint.
  
  Parameters
  ----------
  scale: float
      Scaling parameter.
  seed : int, defaults to 0
class_docstr_tok: ["Horseshoe","Prior","as","it","is","used","in","spearmint",".","Parameters","--","--","--","--","--","scale",":","float","Scaling","parameter",".","seed",":","int",",","defaults","to","0"]
code: def __init__(self, scale: float, seed: int = 0):
      super().__init__(seed=seed)
      self._scale = scale
      self._scale_square = scale**2
  
file_path: SMAC3/smac/model/gaussian_process/priors/horseshoe_prior.py
imports: from __future__ import annotations
  from typing import Any
  import math
  import numpy
  from smac.constants import VERY_SMALL_NUMBER
  from smac.model.gaussian_process.priors.abstract_prior import AbstractPrior
label_desc: Use image node_id 1 to create a new HorseshoePrior object from inherited base classes: AbstractPrior with example: obj = HorseshoePrior(scale, seed)