Add improved version of Hungarian algorithm. - #1140
Conversation
vroulet
left a comment
There was a problem hiding this comment.
Thanks again @carlosgmartin!
Some suggestions:
- keep a single file, and name the first algorithm you did as "base_hungarian_algorithm"
- add in e.g. the new algorithm's docstring a sentence that differentiates the two implementations.
- Add a test that compares the results between the two implementations maybe
Otherwise it's great
|
@vroulet Seems to me it’s cleaner to keep each implementation in a separate file, since
WDYT? |
In any case we should add in the docstring why they differ.
I would actually agree with you, but typically the alias file in optax has an ever increasing list of optimizers. So let's keep the same logic here. (That would actually be my main argument in favor of keeping them in a single file: it may be better for the package to follow a similar philosophy across folders/files). |
64cdc1d to
f134068
Compare
|
@vroulet Done. |
vroulet
left a comment
There was a problem hiding this comment.
Thanks again @carlosgmartin !
f134068 to
b45b76c
Compare
Follow-up to #1083 (comment).