Description Usage Arguments Details Value See Also
crossValidation
is a easy to use function of t times k folds cross validation for score model. The woe will be recomputed at every time and fold validation.
1 | crossValidation(df, t = 1, k = 10, ifprint = TRUE)
|
df |
A dataframe only with Xs and Y variables, and the last variable must be Y, and all the X variables have been binned, but have not been woe-encoded. |
t |
An integer, means t times, default |
k |
An integer, means k folds, default |
ifprint |
Logical, whether to print the intermediate results, default |
this function will cost much time if you set t
and k
too large, t=1
and k=10
is recommended.
A vector contains average of train and test ks value
Other model performance functions: Curve_Data
,
myCurves
, myks
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.