Skip to content

Refactor MLLabelUtils to reflect obsdim changes in LearnBase.jl #44

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 21 commits into from

Conversation

darsnack
Copy link
Member

@darsnack darsnack commented Mar 19, 2021

This updates MLLabelUtils to reflect the changes to obsdim in JuliaML/LearnBase.jl#44.

I have tried to restrict my refactor as much as possible to only reflect changes necessary for obsdim. I do think this repo deserves another refactor pass just for re-org/clean-up, but I think that should be part of a future PR. I gotta thank @Evizero for some absolutely fantastic tests. I do not think it would have been possible to do this refactor without introducing dispatch bugs without such a comprehensive test suite.

I also moved a bunch of interface prototypes from MLLabelUtils to LearnBase. They were marked with a comment "move to LearnBase."

I am marking this PR as a draft, because it will be merged only after we release a new LearnBase.jl. I'm preparing it right now so that we can verify that all the downstream packages (e.g. MLDataPattern and MLLabelUtils) still work correctly with the new interface.

cc @juliohm @johnnychen94

@johnnychen94
Copy link
Member

johnnychen94 commented Mar 20, 2021

So far the change on the test suits looks good to me. Given how verbose @Evizero wrote the test suit, I'm confident about the changes on src, too.

@racinmat
Copy link

Hi, what is the status of this? Can I help with it somehow?

@racinmat
Copy link

@darsnack I pushed commit which makes all tests pass with https://github.com/darsnack/LearnBase.jl#darsnack/rm-obsdim.
Please check it out, I think it should be alllright, but maybe I have missed something.

@darsnack
Copy link
Member Author

Looks good to me!

@darsnack
Copy link
Member Author

Closing in favor of #46.

@darsnack darsnack closed this Dec 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants