Re:Evolutionary Algorithm: Evolving "Hello, World"
by mahcuz on Thursday September 29, 2011 @03:53AM
(#3051548)
Regarding the squaring - would it be enough to take the absolute value of the distance? (abs -5) + (abs 5) = 10.
[ Parent
| on HN ]
Re:Evolutionary Algorithm: Evolving "Hello, World"
by jessedhillon on Thursday September 29, 2011 @07:00PM
(#3054697)
It's still a problematic way to quantify distance between strings. It says that "Rello World" is as close to the target as "Ifmkn Vpqkc"
Levenshtein would quantify those differently, and I'd argue, more correctly. It would say the first is much closer than the second.