


'''simple docstring'''
from ..utils import DummyObject, requires_backends






class        lowerCAmelCase_  (     metaclass=UpperCAmelCase	):
       __UpperCAmelCase					=['flax', 'transformers']






       def __init__( self			,     *_UpperCamelCase			,     **_UpperCamelCase   )->      List[Any]:
            requires_backends(self			,     ['flax', 'transformers']   )






       @classmethod
       def   UpperCamelCase						( cls			,     *_UpperCamelCase			,     **_UpperCamelCase   )->      List[Any]:
            requires_backends(cls			,     ['flax', 'transformers']   )






       @classmethod
       def   UpperCamelCase						( cls			,     *_UpperCamelCase			,     **_UpperCamelCase   )->      Tuple:
            requires_backends(cls			,     ['flax', 'transformers']   )






class        lowerCAmelCase_  (     metaclass=UpperCAmelCase	):
       __UpperCAmelCase					=['flax', 'transformers']






       def __init__( self			,     *_UpperCamelCase			,     **_UpperCamelCase   )->      List[Any]:
            requires_backends(self			,     ['flax', 'transformers']   )






       @classmethod
       def   UpperCamelCase						( cls			,     *_UpperCamelCase			,     **_UpperCamelCase   )->      Any:
            requires_backends(cls			,     ['flax', 'transformers']   )






       @classmethod
       def   UpperCamelCase						( cls			,     *_UpperCamelCase			,     **_UpperCamelCase   )->      Tuple:
            requires_backends(cls			,     ['flax', 'transformers']   )






class        lowerCAmelCase_  (     metaclass=UpperCAmelCase	):
       __UpperCAmelCase					=['flax', 'transformers']






       def __init__( self			,     *_UpperCamelCase			,     **_UpperCamelCase   )->      Any:
            requires_backends(self			,     ['flax', 'transformers']   )






       @classmethod
       def   UpperCamelCase						( cls			,     *_UpperCamelCase			,     **_UpperCamelCase   )->      Tuple:
            requires_backends(cls			,     ['flax', 'transformers']   )






       @classmethod
       def   UpperCamelCase						( cls			,     *_UpperCamelCase			,     **_UpperCamelCase   )->      str:
            requires_backends(cls			,     ['flax', 'transformers']   )






class        lowerCAmelCase_  (     metaclass=UpperCAmelCase	):
       __UpperCAmelCase					=['flax', 'transformers']






       def __init__( self			,     *_UpperCamelCase			,     **_UpperCamelCase   )->      Optional[Any]:
            requires_backends(self			,     ['flax', 'transformers']   )






       @classmethod
       def   UpperCamelCase						( cls			,     *_UpperCamelCase			,     **_UpperCamelCase   )->      str:
            requires_backends(cls			,     ['flax', 'transformers']   )






       @classmethod
       def   UpperCamelCase						( cls			,     *_UpperCamelCase			,     **_UpperCamelCase   )->      Optional[Any]:
            requires_backends(cls			,     ['flax', 'transformers']   )









'''simple docstring'''
from statistics import mean, stdev

def 					lowerCamelCase_ ( __UpperCamelCase					:       list							,    __UpperCamelCase					:       int = 3		)					->	list:







     """simple docstring"""
     _A				=							min(__UpperCamelCase		)
     _A				=							max(__UpperCamelCase		)
     # normalize data
     return [round((x - x_min) / (x_max - x_min)							,    __UpperCamelCase		) for x in data]

def 					lowerCamelCase_ ( __UpperCamelCase					:       list							,    __UpperCamelCase					:       int = 3		)					->	list:







     """simple docstring"""
     _A				=							mean(__UpperCamelCase		)
     _A				=							stdev(__UpperCamelCase		)
     # standardize data
     return [round((x - mu) / (sigma)							,    __UpperCamelCase		) for x in data]





