Learn R Programming

⚠️There's a newer version (0.0.1.0) of this package.Take me there.

scorecardModelUtils (version 0.0.0.9)

Credit Scorecard Modelling Utils

Description

Provides infrastructure functionalities such as missing value treatment, information value calculation, GINI calculation etc. which are used for developing a traditional credit scorecard as well as a machine learning based model. The functionalities defined are standard steps for any credit underwriting scorecard development, extensively used in financial domain.

Copy Link

Version

Install

install.packages('scorecardModelUtils')

Monthly Downloads

194

Version

0.0.0.9

License

GPL-2 | GPL-3

Maintainer

Arya Poddar

Last Published

April 27th, 2018

Functions in scorecardModelUtils (0.0.0.9)

others_class

Clubbing of classes of categorical variable with low population percentage into one class
gradient_boosting_parameters

Hyperparameter optimisation or parameter tuning for Gradient Boosting Regression Modelling by grid search
scoring

Scoring a dataset with class based on a scalling logic to arrive at final score
iv_filter

Variable reduction based on Information Value filter
scalling

Converting coefficients of logistic regression into scores for scorecard building
iv_table

WOE and IV table for list of numerical and categorical variables
sampling

Random sampling of data into train and test
random_forest_parameters

Hyperparameter optimisation or parameter tuning for Random Forest by grid search
missing_val

Missing value imputation
cv_test

Cramer's V value between two categorical variables
club_cat_class

Clubbing class of a categorical variable with low population percentage with another class of similar event rate
dtree_split_val

Getting the split value for terminal nodes from decision tree
dtree_trend_iv

Recursive Decision Tree partitioning with monotonic event rate along with IV table for individual numerical variable
cat_new_class

Clubbing class of categorical variables with low population percentage with another class of similar event rate
fn_cross_index

Creates random index for k-fold cross validation
categorical_iv

IV table for individual categorical variable
fn_conf_mat

Creates confusion matrix and its related measures
cv_filter

Variable reduction based on Cramer's V filter
cv_table

Pairwise Cramer's V among a list of categorical variables
fn_error

Computes error measures between observed and predicted values
fn_mode

Calculating mode value of a vector
fn_target

Redefines target value
num_to_cat

Binning numerical variables based on cuts from IV table
support_vector_parameters

Hyperparameter optimisation or parameter tuning for Suppert Vector Machine by grid search
univariate

Univariate analysis of variables
vif_filter

Removing multicollinearity from a model using vif test
gini_table

Performance measure table with Gini coefficient, KS-statistics and Gini lift curve