You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
linear_assignment can now be imported from scipy #13464
I'd like to take this up if no one else is assigned to it. It'll be my first issue. My approach would be to search through the codebase for the imports and refactor the code to use scipy. And then remove the sklearn function from the codebase.
@jnhansen@praths007 I am concerned that linear_sum_assignment is not equivalent to linear_assignment which later implements "maximum values" matching strategy not "complete matching" strategy, i.e. in tracking problem maybe an old landmark lost and a new detection coming in. We don't have to make a complete assignment, just match as more as possible.
I also try to tell others that it is dangerous to use linear_sum_assignment because it implements complete matching, where in the most cases we don't need.
Instead of using complete matching by KM algorithms, mini cut - max flow might be a good choice.
Reacted by M Kundegorski, HaronCHou and Samarth Bhatia
Activity
okz12 commentedon Mar 19, 2019
I'd like to take this up if no one else is assigned to it. It'll be my first issue. My approach would be to search through the codebase for the imports and refactor the code to use scipy. And then remove the sklearn function from the codebase.
okz12 commentedon Mar 19, 2019
Just realised this has been separately resolved in #13465. You can reject my pull request.
jnothman commentedon Mar 20, 2019
Sorry we're not good at updating labels
iodapro commentedon Apr 17, 2019
@jnothman could you tell me please whether this issue was solved?
jnothman commentedon Apr 17, 2019
Yes, it should have been merged but for an oversight
thomasjpfan commentedon Apr 17, 2019
Resolved in #13465
yiakwy commentedon Mar 10, 2020
@jnhansen @praths007 I am concerned that
linear_sum_assignmentis not equivalent tolinear_assignmentwhich later implements "maximum values" matching strategy not "complete matching" strategy, i.e. in tracking problem maybe an old landmark lost and a new detection coming in. We don't have to make a complete assignment, just match as more as possible.I also try to tell others that it is dangerous to use linear_sum_assignment because it implements complete matching, where in the most cases we don't need.
Instead of using complete matching by KM algorithms, mini cut - max flow might be a good choice.
Fixed issue with deprecated import scikit-learn/scikit-learn#13464