Genetic Algorithms in Elixir: String.bag_distance() is unsorted evaluation

You can use String.jaro_distance/2. That should work better. I’ll fix this example. You’ll use Jaro Distance later as well.

1 Like