Skip to content
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

Update a component #1352

Open
eddiebergman opened this issue Dec 20, 2021 · 6 comments
Open

Update a component #1352

eddiebergman opened this issue Dec 20, 2021 · 6 comments
Labels

Comments

@eddiebergman
Copy link
Contributor

The components part of our codebase was written sometime ago, with older sklearn versions and before python typing was production ready.

In general, some of these files need to be cleaned up. Mostly typing of parameters and functions, adding documentation a bout these parameters and finally double checking with scikit learn that there aren't some new or deprecated parameters we still use.

To go the extra mile, some standalone tests that tests these components would be useful. At the moment we have general tests that test all components but specific tests for each component to go along side would help with regard to two other long term issues, namely

We would appreciate anyone who would like to take a component and help upgrade auto-sklearn to a more modern python :) Please see the contribution guide if you'd like to get started

@eddiebergman eddiebergman changed the title [Beginner Freindly Task] Update a component Update a component Dec 20, 2021
@souravsingh
Copy link

@eddiebergman Is this issue still open? I would like to take a stab at it.

@eddiebergman
Copy link
Contributor Author

Hi @souravsingh,

Thanks for taking interest :)

In general, it would be good to have a lot of our components cleaned up and properly typed with Mypy. Along with this, it would be good to have a link to the scikit learn component it's implementing and to double check that the parameters are correct (with respect to the right scikit learn version). The NotImplementedErrors could also be updated to NotFittedError. There might be more things to update but I'm not entirely sure and any suggestions are also welcome :)

If we can do this for all of the classifiers, this would let us remove this ignore so we can run Mypy on more of the codebase.

Why? Because Mypy and typing lets us catch errors while developing, without having to run tests and having mypy ignore files is losing this ability.

Depending on your time, even a single component is appreciated and would help serve as a good example for anyone else wishing to contribute :)

Best,
Eddie

@souravsingh
Copy link

@eddiebergman Sure I will get started

@BryanEstrada003
Copy link

I would like to work on this issue, can I?

@Aditi840
Copy link

Heyy, is this issue still open

@eddiebergman
Copy link
Contributor Author

Hey @Aditi840,

Not at the moment, please check out #1677

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants