df.ks_stats: Kolmogorov-Smirnov test FKA ks-test function

Description Usage Arguments Value

Description

This function will calculate the KS value of the given propability against the true label and also provide the decile under which it falls

Usage

1
df.ks_stats(True_Label = NULL, Prob = NULL, Plot = TRUE)

Arguments

True_Label

this the actual target variable of the data

Prob

this the predicted probability of the target variable using some model

Plot

this is a logical value which tell to plot the ks graph in the console

Value

this function will return a list of values like the ks table, decile and the ks ststistics


prk327/AtConP documentation built on May 26, 2019, 8:33 a.m.