
def 		UpperCamelCase						(   lowercase_ )		->						float:


  '''simple docstring'''






  if not nums:  # Makes sure that the list is not empty
    raise ValueError("""List is empty""" )

  lowercase__	: int     		=   sum(lowercase_ ) / len(lowercase_ )  # Calculate the average
  return sum(abs(x - average ) for x in nums ) / len(lowercase_ )


if __name__ == "__main__":
     import doctest

     doctest.testmod()








from typing import List

import datasets
from datasets.tasks import AudioClassification

from ..folder_based_builder import folder_based_builder


lowerCamelCase__     :		Any        = datasets.utils.logging.get_logger(__name__)



class    _snake_case (						folder_based_builder.FolderBasedBuilderConfig				):
 __lowerCAmelCase	:  bool	   =      None
 __lowerCAmelCase	:  bool	   =      None



class    _snake_case (						folder_based_builder.FolderBasedBuilder				):
 __lowerCAmelCase	:  Optional[Any]	   =      datasets.Audio()
 __lowerCAmelCase	:  Union[str, Any]	   =      'audio'
 __lowerCAmelCase	:  str	   =      AudioFolderConfig
 __lowerCAmelCase	:  List[str]  # definition at the bottom of the script
 __lowerCAmelCase	:  Optional[int]	   =      AudioClassification(audio_column='audio'	,    label_column='label'				)

lowerCamelCase__     :		int        = [
    """.aiff""",
    """.au""",
    """.avr""",
    """.caf""",
    """.flac""",
    """.htk""",
    """.svx""",
    """.mat4""",
    """.mat5""",
    """.mpc2k""",
    """.ogg""",
    """.paf""",
    """.pvf""",
    """.raw""",
    """.rf64""",
    """.sd2""",
    """.sds""",
    """.ircam""",
    """.voc""",
    """.w64""",
    """.wav""",
    """.nist""",
    """.wavex""",
    """.wve""",
    """.xi""",
    """.mp3""",
    """.opus""",
]
lowerCamelCase__     :		int        = AUDIO_EXTENSIONS






