penalty: (helper function) Calculate cross validation penalty

Description Usage Arguments

Description

penalty returns the weighted cross validation penalty.

Usage

1
penalty(t, v, d_net_lift)

Arguments

t

training data (data.frame)

v

valdation data (data.frame)

d_net_lift

is it a net lift model? (1=yes, 0=no)


klarsen1/Information documentation built on May 20, 2019, 11:06 a.m.