rawPredictFun_df: Predict p Value of Entire Raw Dataset

Description Usage Arguments Details Value See Also

Description

rawPredictFun_df will predict the p value of all observations, based on woe configuration list(see details) and model coefficients. Different from LRpredict, this function can predict on raw observations directly which have not been woe-encoded or binned.

Usage

1
rawPredictFun_df(x_sample, config_list, coef_vec)

Arguments

x_sample

A dataframe with only X variables and contains all the observations to be predicted.

config_list

A list of woe configuration, whose every component is a dataframe corresponding to a x variable.

coef_vec

A vector of model coefficients.

Details

parameter config_list can be generated by function dfBinningFun.

Value

A numeric vector

See Also

Other model prediction functions: LRpredict, transformScore


xxzcool/scoremodel documentation built on May 4, 2019, 10:56 a.m.