samedi 8 décembre 2018

Random performance using the normal distribution for ordered dictionary

I Need help of , creating a function that performs a random uniform distribution of an ordered dictionary and returns a dictionary with names as keys.(using any random seed)

The parameter=OrderedDict( [ (‘a’,(100.0, 0.0) , (‘b’ , (90.0, 5.0)) ] )

NB : the (100.0 ,0.0) are mean and std devaition respectively

Expected return= {‘a’ : 105.46565 , ‘b’: 90}

Thanks




Aucun commentaire:

Enregistrer un commentaire