Description Usage Arguments Examples
get Komolgorov-Smirnov value test for a variable in train and test(receives a list or variables) .
1 | ks_var_list(tbla, formula_model, tbla_test)
|
tbla |
table with data. It has to have the target_name. |
formula_model |
the final formula of the model. |
tbla_test |
table with test data. |
1 2 3 4 5 6 7 8 9 | set.seed(1)
x1 = rnorm(1000)
x2 = rnorm(1000)
z = 1 + 3*x1
pr = 1/(1+exp(-z))
y = rbinom(1000,1,pr)
tbla = data.frame(y=y,x1=x1,x2=x2, x4=x4)
formula_model=formula('y~x1+x2')
ks_var_list(tbla, formula_model, tbla)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.