Re:What happened when Boston Public Schools tried for equity...
by nradov on Monday September 24, 2018 @12:51PM
(#18059206)
Is a simple hill-climbing algorithm really effective for problems like this? I've found that you usually have to add some randomization plus simulated annealing to avoid issues caused by falling into local maximums or always iterating through entries in the same order.
[ Parent
| on HN ]
Re:What happened when Boston Public Schools tried for equity...
by deong on Monday September 24, 2018 @03:29PM
(#18060655)
Even local optima are often pretty good in practice.
Also, it's a very good practice to iterate through the neighbors in a random order (if you're doing next descent, for steepest descent obviously it doesn't matter).
Re:What happened when Boston Public Schools tried for equity...
by mikeash on Monday September 24, 2018 @12:57PM
(#18059261)
The simplest version where you just choose the single change that produces the best score isn't quite good enough for my purposes. I modified that slightly to run that to completion, then switch to choosing the two changes that produce the best score until that can't improve anymore either, which works a lot better. Fortunately my membership list is small enough that this is still computationally feasible.