arachnidlabs / rlpro-python

Re:load Pro Python interface code
MIT License
1 stars 1 forks source link

RMSE formula is backwards #1

Open spapadim opened 10 years ago

spapadim commented 10 years ago

Was just browsing code, noticed that RMSE in characterize.py is backwards: should be sqrt(sum-of-squares/n) not (sum-of-sqrts/n)^2; i.e. line 69 should be "err += math.pow(i-current,2)" and line 73 should be "print .. % math.sqrt(err/count)".

Arachnid commented 10 years ago

Oops, good point. Thanks.