Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

predict.woe

Weights of evidence


Description

Applies weight of evidence transform of factor variables for binary classification based on a model of class woe.

Usage

## S3 method for class 'woe'
predict(object, newdata, replace = TRUE, ...)

Arguments

object

Object resulting from a call of woe.

newdata

A matrix or data frame where WOE transform should be applied of the same dimension as the data used for training the woe object.

replace

Logical flag specifying whether the original factor variables should be kept in the output.

...

Currently not used.

Value

Data frame including the transformed numeric woe variables.

Author(s)

Gero Szepannek

References

Good, I. (1950): Probability and the Weighting of Evidences. Charles Griffin, London.

See Also

Examples

# see examples in ?woe

klaR

Classification and Visualization

v0.6-15
GPL-2 | GPL-3
Authors
Christian Roever, Nils Raabe, Karsten Luebke, Uwe Ligges, Gero Szepannek, Marc Zentgraf, David Meyer
Initial release
2020-02-18

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.