Skip to content
This repository has been archived by the owner on Jun 22, 2022. It is now read-only.

Could you provide an example code for using predictive_imputer? #331

Open
apavlo89 opened this issue Jan 6, 2021 · 1 comment
Open

Could you provide an example code for using predictive_imputer? #331

apavlo89 opened this issue Jan 6, 2021 · 1 comment

Comments

@apavlo89
Copy link

apavlo89 commented Jan 6, 2021

It would be of such great help if you have an example of how this works using a dataset = pd.read_csv('C:/location/test.csv') example for us noobs with programming.

@paul-english
Copy link
Owner

Sure, it's following a pattern that the scikit-learn library uses, https://scikit-learn.org/stable/developers/develop.html, since it's a relatively popular library.

You can see an example in the tests https://github.com/log0ymxm/predictive_imputer/blob/master/tests/test_predictive_imputer.py#L37-L38

Please note that this is really more a proof of concept kind of library, I haven't updated or used this in a long time, and I don't really guarantee that I've 100% captured the methodology of the original idea. Additionally any use of imputation should involve some analysis to judge if it's actually producing accurate results for you.

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

No branches or pull requests

2 participants