ICB-DCM / pyABC

distributed, likelihood-free inference
https://pyabc.rtfd.io
BSD 3-Clause "New" or "Revised" License
204 stars 44 forks source link

Is this description wrong in the documention? #592

Closed xieduo7 closed 1 year ago

xieduo7 commented 1 year ago

Bug description

Hi @yannikschaelte ,

In the description of PNormDistance documention, the p=1 for a Euclidean or L1 metric, * p=2 for a Manhattan or L2 metric. But according to the equation of distance, it should be p=2 for a Euclidean, * p=1 for a Manhattan. Am I right?

Thank you!

Best, Duo

yannikschaelte commented 1 year ago

Hi, thank you for pointing this out, this is indeed a mistake, it should be 2->Euclidean, 1->Manhattan.