<br><br>On Thursday, June 21, 2012, Robert Kern  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, Jun 21, 2012 at 7:33 PM, eat <<a href="javascript:;" onclick="_e(event, 'cvml', 'e.antero.tammi@gmail.com')">e.antero.tammi@gmail.com</a>> wrote:<br>

> Heh,<br>
><br>
> On Thu, Jun 21, 2012 at 6:03 PM, Robert Kern <<a href="javascript:;" onclick="_e(event, 'cvml', 'robert.kern@gmail.com')">robert.kern@gmail.com</a>> wrote:<br>
>><br>
>> On Thu, Jun 21, 2012 at 3:59 PM, bob tnur <<a href="javascript:;" onclick="_e(event, 'cvml', 'bobtnur78@gmail.com')">bobtnur78@gmail.com</a>> wrote:<br>
>> > Hi all numpy fun;)<br>
>> > This question is already posted in stackoverflow by some people, I am<br>
>> > just<br>
>> > thinking that numpy python will do this with trick;) I guess numpy will<br>
>> > be<br>
>> > every ones choice as its popularity increases. The question is herein:<br>
>> ><br>
>> > <a href="http://stackoverflow.com/questions/10074270/how-can-i-find-the-minimum-number-of-lines-needed-to-cover-all-the-zeros-in-a-2" target="_blank">http://stackoverflow.com/questions/10074270/how-can-i-find-the-minimum-number-of-lines-needed-to-cover-all-the-zeros-in-a-2</a><br>

>><br>
>> My "numpy solution" for this is just<br>
>><br>
>>  $ pip install munkres<br>
><br>
> munkres seems to be a pure python implementation ;-).<br>
<br>
Oops! I could have sworn that I once tried one named munkres that used<br>
numpy. But that was several years ago.<br>
<br></blockquote><div><br></div><div>There is a development branch of sk-learn with an implementation of the hungarian assignment solver using numpy. It will even do non-square matrices and matrices with an empty dimension.</div>
<div><br></div><div>Ben Root<span></span></div>