|
In the commented out directions for HW3-6, we are told to incorporate noise into steering by choosing our steering angle from a Gaussian distribution of steering angles. For bearing, we are supposed to just add some noise from a Gaussian distribution. We aren't given any specific instructions for incorporating noise into distance. I tried it both ways (separately): choosing the distance from a Gaussian distribution (centered at our true distance) and also adding noise from a Gaussian distribution (centered at 0). They both had distance_noise set as their variances. I was surprised to find that they performed differently. It turns out adding the noise gives slightly better results than when the distance is chosen from a Gaussian distribution. The comparison was made by computing the True/False rate of their checker over 2000 runs. The difference was ~88% for adding noise and ~84% for taking the measurement out of a Gaussian. I can't see why one should be better than the other in this situation. Can anyone explain the difference? Also, which is the one more true to reality? I submitted my assignment with the better results, but that's not to say that's how things play out in the real world. UPDATE: I reran the program 10,000 times each and for the "n+random.gauss(0,noise)" case I got 90%, but for the "random.gauss(n,noise)" case I got 80.88%. |
|
In my point of view they are exactly the same. I wouldn't say that 4% difference is a conclusive result. If you try running the test again (2000 more times) maybe you will get inverted results. I just updated the original post with the latest results (they appeared in comments rather than OP before). "I reran the program 10k times each and for the "n+random.gauss(0,noise)" case I got 90%, but for the "random.gauss(n,noise)" case I got 80.88%." @AME Have you run the tests again with the same results? I tried with smaller numbers and both ways behave basically the same. @marga I'm not sure which numbers you made smaller. Do you mean smaller alpha and d in the motion vectors? If so, I did mess around with alpha a little, but not d. If you meant number of iterations, I started off running them at small numbers and they were getting numbers that were about the same as each other, but they were so close to the 80% threshold I wanted to be a little more sure they were >80% so I started running them more and more and they began drifting apart more with "n+random.gauss(0,noise)" becoming clearly more successful. It wasn't until I ran them in the thousands where there was a definite winner, so to speak. |