Closed martinctc closed 4 months ago
Summary of IV functionality: 1. Function Summary Related to Information Value (IV):
_ptest(data, outcome, behavior, paired=False): This function performs a statistical test (Wilcoxon signed-rank test or rank-sum test) to compare two groups of data based on an outcome variable.
_calculateIV(data, outcome, predictor, bins): Calculates Information Value (IV) for a given predictor variable with respect to the outcome variable.
_mapIV(data, outcome, predictors=None, bins=5): Maps IV values for all predictor variables in the dataset. Parameters:
2. Function Architecture:
3. Function Relationships:
4. Overall Description:
Summary of IV functionality:
This branch finalizes changes to the Information Value (IV) functions.
This pull request also updates the package version to
v0.3.0
and is released to PyPI.Changes
The changes made in this PR are:
create_IV
function. This in turn calls a number of other functions to generate statistics and visualizations around Information Value (IV) and Weight of Evidence (WoE).create_bar_asis
function, which can be leveraged outside of the Information Value context.Checks
python -m unittest discover -s tests -f
locally)pyproject.toml
,setup.py
, anddocs/conf.py
(if applicable)NEWS.md
has been updatedFunction Summary Related to Information Value (IV)
_ptest(data, outcome, behavior, paired=False): This function performs a statistical test (Wilcoxon signed-rank test or rank-sum test) to compare two groups of data based on an outcome variable.
_calculateIV(data, outcome, predictor, bins): Calculates Information Value (IV) for a given predictor variable with respect to the outcome variable.
_mapIV(data, outcome, predictors=None, bins=5): Maps IV values for all predictor variables in the dataset. Parameters:
Function Architecture
Function Relationships
4. Overall Description: