

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


def  a__       (    _SCREAMING_SNAKE_CASE   :       list	,				_SCREAMING_SNAKE_CASE   :       int = 3				)     ->					list:


	"""simple docstring"""





	UpperCAmelCase_     :      Dict						=  min(_SCREAMING_SNAKE_CASE				)
	UpperCAmelCase_     :      Union[str, Any]						=  max(_SCREAMING_SNAKE_CASE				)
	# normalize data
	return [round((x - x_min) / (x_max - x_min)	,				_SCREAMING_SNAKE_CASE				) for x in data]





def  a__       (    _SCREAMING_SNAKE_CASE   :       list	,				_SCREAMING_SNAKE_CASE   :       int = 3				)     ->					list:


	"""simple docstring"""





	UpperCAmelCase_     :      Tuple						=  mean(_SCREAMING_SNAKE_CASE				)
	UpperCAmelCase_     :      str						=  stdev(_SCREAMING_SNAKE_CASE				)
	# standardize data
	return [round((x - mu) / (sigma)	,				_SCREAMING_SNAKE_CASE				) for x in data]









'''simple docstring'''

import warnings

from ...utils import logging
from .image_processing_glpn import GLPNImageProcessor


SCREAMING_SNAKE_CASE__     :						Optional[Any]	=  logging.get_logger(__name__)

class 							a__( snake_case__     ):






			def __init__(     self					,   *_UpperCAmelCase					,   **_UpperCAmelCase						)							->							None:
					warnings.warn(
					    'The class GLPNFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'
					    ' use GLPNImageProcessor instead.'					,   _UpperCAmelCase					,   )
					super().__init__(*_UpperCAmelCase					,   **_UpperCAmelCase						)




