Пример #1
0
 def __init__(self,
              algorithms: Type[Algorithms] = UniformAlgorithms,
              dummy: Tensor = None,
              properties: Properties = None) -> None:
     parameters = {"dummy": dummy}
     Distribution.__init__(self,
                           algorithms=algorithms,
                           parameters=parameters,
                           properties=properties)
Пример #2
0
 def __init__(self,
              algorithms: Type[Algorithms] = ExponentialAlgorithms,
              beta: Tensor = None,
              properties: Properties = None) -> None:
     parameters = {"beta": beta}
     Distribution.__init__(self,
                           algorithms=algorithms,
                           parameters=parameters,
                           properties=properties)
Пример #3
0
 def __init__(self,
              algorithms: Type[Algorithms] = CenNnNormalAlgorithms,
              tau: Tensor = None,
              properties: Properties = None) -> None:
     parameters = {"tau": tau}
     Distribution.__init__(self,
                           algorithms=algorithms,
                           parameters=parameters,
                           properties=properties)
Пример #4
0
 def __init__(self,
              algorithms: Type[Algorithms] = CenNormalRankOneAlgorithms,
              tau0: Tensor = None,
              tau1: Tensor = None,
              properties: Properties = None) -> None:
     parameters = {"tau0": tau0, "tau1": tau1}
     Distribution.__init__(self,
                           algorithms=algorithms,
                           parameters=parameters,
                           properties=properties)
Пример #5
0
 def __init__(self,
              algorithms: Type[Algorithms] = LaplaceAlgorithms,
              mu: Tensor = None,
              beta: Tensor = None,
              properties: Properties = None) -> None:
     parameters = {"mu": mu, "beta": beta}
     Distribution.__init__(self,
                           algorithms=algorithms,
                           parameters=parameters,
                           properties=properties)
Пример #6
0
 def __init__(self,
              algorithms: Type[Algorithms] = LomaxAlgorithms,
              alpha: Tensor = None,
              beta: Tensor = None,
              tau: Tensor = None,
              properties: Properties = None) -> None:
     parameters = {"alpha": alpha, "beta": beta, "tau": tau}
     Distribution.__init__(self,
                           algorithms=algorithms,
                           parameters=parameters,
                           properties=properties)
Пример #7
0
 def __init__(self,
              algorithms: Type[Algorithms] = CenNnTAlgorithms,
              Psi: Tensor = None,
              nu: Tensor = None,
              tau: Tensor = None,
              properties: Properties = None) -> None:
     parameters = {"Psi": Psi, "nu": nu, "tau": tau}
     Distribution.__init__(self,
                           algorithms=algorithms,
                           parameters=parameters,
                           properties=properties)
Пример #8
0
 def __init__(self,
              algorithms: Type[Algorithms] = JumpNormalAlgorithms,
              mu: Tensor = None,
              tau: Tensor = None,
              nu: Tensor = None,
              beta: Tensor = None,
              properties: Properties = None) -> None:
     parameters = {"mu": mu, "tau": tau, "nu": nu, "beta": beta}
     Distribution.__init__(self,
                           algorithms=algorithms,
                           parameters=parameters,
                           properties=properties)
Пример #9
0
 def __init__(self,
              algorithms: Type[Algorithms] = CenNnFullyElasticNetAlgorithms,
              b: Tensor = None,
              mu: Tensor = None,
              tau: Tensor = None,
              betaExponential: Tensor = None,
              beta: Tensor = None,
              properties: Properties = None) -> None:
     parameters = {
         "b": b,
         "mu": mu,
         "tau": tau,
         "betaExponential": betaExponential,
         "beta": beta
     }
     Distribution.__init__(self,
                           algorithms=algorithms,
                           parameters=parameters,
                           properties=properties)