




from ..utils import DummyObject, requires_backends





class 			__lowerCamelCase	(   metaclass=__SCREAMING_SNAKE_CASE   ):




    """simple docstring"""

    snake_case__ =				["torch", "torchsde"]


    def __init__(	self					:					Any       ,     *SCREAMING_SNAKE_CASE__					:					Tuple       ,     **SCREAMING_SNAKE_CASE__					:					Dict       )				->	int:
         requires_backends(self       ,     ["torch", "torchsde"]       )


    @classmethod
    def        a				(	cls					:					Optional[int]       ,     *SCREAMING_SNAKE_CASE__					:					Dict       ,     **SCREAMING_SNAKE_CASE__					:					int       )				->	Union[str, Any]:
         requires_backends(cls       ,     ["torch", "torchsde"]       )


    @classmethod
    def        a				(	cls					:					Any       ,     *SCREAMING_SNAKE_CASE__					:					Dict       ,     **SCREAMING_SNAKE_CASE__					:					int       )				->	Any:
         requires_backends(cls       ,     ["torch", "torchsde"]       )






from statistics import mean, stdev



def 							_A       (						lowerCAmelCase_					: list       ,    lowerCAmelCase_					: int = 3      ):
     """simple docstring"""

     lowerCAmelCase__          =			min(lowerCAmelCase_      )
     lowerCAmelCase__          =			max(lowerCAmelCase_      )
     # normalize data
     return [round((x - x_min) / (x_max - x_min)       ,    lowerCAmelCase_      ) for x in data]






def 							_A       (						lowerCAmelCase_					: list       ,    lowerCAmelCase_					: int = 3      ):
     """simple docstring"""

     lowerCAmelCase__          =			mean(lowerCAmelCase_      )
     lowerCAmelCase__          =			stdev(lowerCAmelCase_      )
     # standardize data
     return [round((x - mu) / (sigma)       ,    lowerCAmelCase_      ) for x in data]
