3 ms·
I did not find pareto front sorting library so I made one. It took a weekend. Save your weekend and use my module instead.
by kummappp 6y ago
I did not find pareto front sorting library so I made one. It took a weekend. Save your weekend and use my module instead.
- klyrs 6y agoThis seems pretty cool, and something I might use. Echoing another commenter: can you add a brief intro to what's meant by a Pareto front? A picture would do wonders.
- phijFTW 6y agoWhat about pymoo's [1] Non-dominated Sorting? [2] I used it recently since I had the same problem. [1]: https://pymoo.org/ https://pymoo.org/ [2]: https://github.com/msu-coinlab/pymoo/blob/master/pymoo/util/nds/fast_non_dominated_sort.py https://github.com/msu-coinlab/pymoo/blob/master/pymoo/util/...
- anonymoushn 6y agoIn the first example, why does (None, 0, 1) dominate (0, 0, 0)? The latter has a higher value in the first position.
- kummappp 6y agoOh, it is a bug. I'll fix it. How embarrassing and thanks. I have mainly used the None means the whole row is inferior -thing.