penalty {Information} | R Documentation |
(helper function) Calculate cross validation penalty
Description
penalty
returns the weighted cross validation penalty.
Usage
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) |
[Package Information version 0.0.9 Index]