Learn R Programming

creditmodel (version 1.0)

entry_rate_max: Max Percent of Unique Values

Description

entry_rate_max is the function to encode variables which unique value rate is more than 95

Usage

entry_rate_max(dat, rt = 0.95, note = FALSE)

Arguments

dat

A data frame with x and target.

rt

The maximum percent of unique value.

note

Logical.Outputs info.Default is TRUE.

Value

A data.frame

Examples

Run this code
# NOT RUN {
datss = entry_rate_max(dat = UCICreditCard[1:1000, ] , rt  = 0.98)
# }

Run the code above in your browser using DataLab