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
Fixed Deprecated Package(s) Dependencies #54
Conversation
… sklearn. More proper to export directly instead of relying on sklearn externals and exposed packages which have no guarantees for maintainence and accessibility.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR. I had a few comments and questions, and it looks like flake8 is complaining in travis CI.
Oops!!! Totally forgot about flake8, sorry about that! |
…ments for MaskedArray serializable fix, flake8 formatting
8708d2a
to
d5f1801
Compare
Ok, so I noticed that Travis CI is breaking down specifically on Python 2.7, 3.4, and 3.5 all of which are deprecated. (3.5 ended support on Oct 2nd, 2020.) Is it important to maintain these outdated Python version compatibility? Because from an open-source perspective, I think we should just modify the Travis CI to approve on checking 3.6+, but I guess that's up to you guys. |
…ld of valid pandas version
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No, we don't need to maintain the tests for python 3.5 and earlier. We just haven't gotten rid of them for this repo yet. Sorry for the extra trouble there. |
All tests passing.
Use
np.ma.MaskedArray
directly instead of importing from sklearn's version and import fromjoblib
directly instead ofsklearn.externals
. It's more proper to export directly instead of relying on sklearn externals and exposed packages which have no guarantees for maintenance and accessibility.As a rule of thumb, don't use publicly-exposed sklearn internal functions/tools when building a package for others because there will very likely be future dependency issues as things become deprecated and disappear.
Thank you guys so much for building this tool for the community. I've tried to use Dask's version, but their implementation doesn't seem to work with XGBoost that doesn't implement partial_fit() or something.
I'll continue to chip-in as I can if I encounter any further issues, thanks.