




'''simple docstring'''



import warnings

from ...utils import logging
from .image_processing_yolos import YolosImageProcessor


UpperCAmelCase_							:	Optional[int]	     =		logging.get_logger(__name__)





class      lowerCAmelCase (			__lowerCAmelCase):


       def __init__( self     ,	*__SCREAMING_SNAKE_CASE     ,	**__SCREAMING_SNAKE_CASE	)   ->	None:



            '''simple docstring'''




            warnings.warn(
                '''The class YolosFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'''
                ''' use YolosImageProcessor instead.'''     ,	__SCREAMING_SNAKE_CASE     ,	)
            super().__init__(*__SCREAMING_SNAKE_CASE     ,	**__SCREAMING_SNAKE_CASE	)









"""simple docstring"""


from statistics import mean, stdev



def   _A					(	_a	:						list     ,   _a	:						int = 3				):



      """simple docstring"""






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





def   _A					(	_a	:						list     ,   _a	:						int = 3				):



      """simple docstring"""






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




