Is there good implementation of Hungarian algorithm in standard python libraries?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
I just tried:
pip install munkres
and it worked. Here you can find a short explanation on how to use it.
I got an error trying to install "hungarian".
回答2:
Check this munkres out
回答3:
There are multiple Options:
pip install munkres
Documentation here
pip install hungarian
Documentation here
pip install scipy
scipy.optimize.linear_sum_assignment
Documentation here