I want to generate the same amount of noise to all the values in the dataset. My dataset consist of 500 values. I have heard that random seed is used for generating same noise but I am unable to figure out how it can be used in here. My code is:
for i in range(0,500)
x= x + np.random.normal(0,0.002,1) # velocity
y = y + np.random.normal(0,0.0092,1) # rotation
z = z + np.random.normal(0,0.7,1) # rotation
Kindly guide!
Aucun commentaire:
Enregistrer un commentaire