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

Create a comparison of imputation strategies #86

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
e553b6a
Initial code creation.
anilkumarpanda Feb 25, 2021
120d6e4
Intial setup for mvi comparison.
anilkumarpanda Mar 1, 2021
b51501f
Added handling of categorical variables.
anilkumarpanda Mar 2, 2021
964f3fa
Bare bone implementation
anilkumarpanda Mar 2, 2021
57edb3f
Added support for RF,LR models in a elegant way.
anilkumarpanda Mar 2, 2021
43da42a
Added notebook and cleaned up tests.
anilkumarpanda Mar 4, 2021
be1e54e
Resolving pyflakes and code for pipelines.
anilkumarpanda Mar 4, 2021
d7d1ff3
Skipping LGBM tests
anilkumarpanda Mar 4, 2021
802a41b
Skipping LGBM tests
anilkumarpanda Mar 4, 2021
eb21206
Renaming class and adjusting notebooks.
anilkumarpanda Mar 10, 2021
d33abbf
Resolving MR comments. Simplifying code by removing parameters.
anilkumarpanda Mar 11, 2021
396496f
Updating tests.
anilkumarpanda Mar 11, 2021
3c2a5ed
Removed unwanted imports
anilkumarpanda Mar 11, 2021
3ab2596
Updated example, removed lgbm.
anilkumarpanda Mar 11, 2021
192f32c
Skipping lgbm tests
anilkumarpanda Mar 11, 2021
f86aeba
Adding lgb tests
anilkumarpanda Mar 11, 2021
d616fcd
Resolving mr issues
anilkumarpanda Mar 13, 2021
91d9389
Updated the plots toshow cv train results as well.
anilkumarpanda Mar 15, 2021
8b73b8d
Running black on tests and removing ligm tests.
anilkumarpanda Mar 15, 2021
5b9a739
Adding lgbm tests back
anilkumarpanda Mar 15, 2021
3b01af8
Minor updates to code example in docstring
anilkumarpanda Mar 15, 2021
d45b1cf
Updated lgbm test
anilkumarpanda Mar 15, 2021
e1a210b
Removed requirement.txt
anilkumarpanda Mar 15, 2021
5064ce1
Adding new line to eof
anilkumarpanda Mar 15, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/api/imputation_selector.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Imputation Selector

This module allows to select imputation strategies.


::: probatus.missing_values.imputation
Binary file added docs/img/imputation_comparision.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
272 changes: 272 additions & 0 deletions docs/tutorials/nb_imputation_comparison.ipynb

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ nav:
- Multivariate Sample Similarity: tutorials/nb_sample_similarity.ipynb
- Univariate Sample Similarity: tutorials/nb_distribution_statistics.ipynb
- Custom Scoring Metrics: tutorials/nb_custom_scoring.ipynb
- Imputation Strategy Comparision : tutorials/nb_imputation_comparison.ipynb
- API:
- probatus.feature_elimination: api/feature_elimination.md
- probatus.interpret: api/model_interpret.md
- probatus.metric_volatility: api/metric_volatility.md
- probatus.missing_values : api/imputation_selector.md
- probatus.sample_similarity: api/sample_similarity.md
- probatus.stat_tests: api/stat_tests.md
- probatus.utils: api/utils.md
Expand Down
23 changes: 23 additions & 0 deletions probatus/missing_values/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright (c) 2020 ING Bank N.V.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of
# this software and associated documentation files (the "Software"), to deal in
# the Software without restriction, including without limitation the rights to
# use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
# the Software, and to permit persons to whom the Software is furnished to do so,
# subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
# FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


from .imputation import ImputationSelector

__all__ = ["ImputationSelector"]
Loading