LRpredict: Logistic Regression Model Predicting

Description Usage Arguments Details Value See Also

Description

LRpredict is a wrapper of predict, which can predict probabilities on train or test set. Different from rawPredictFun_df, it does not need to give model coefficient and woe configuration list, but the given newdata must be woe-encoded in advance when predicts on test.

Usage

1
LRpredict(fit, newdata = NULL)

Arguments

fit

A fitted object of class inheriting from LRfit or glm.

newdata

A new dataset to be predicted, which only contain x variables, and must have been woe-encoded. Default NULL, means predicting on train.

Details

parameter fit can be generated by function LRfit or glm.

Value

A numeric vector

See Also

Other model prediction functions: rawPredictFun_df, transformScore


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