This function discretizes a user-provided test dataset given a discretization scheme provided by an S4 "discretization" object. It then applies the learnt logistic regression model and outputs its prediction (see predict.glm).

predict(object, ...)

predict.discretization(object, newdata)

predict.reject_infered(object, newdata, ...)

# S4 method for discretization
predict(object, newdata)

# S4 method for reject_infered
predict(object, newdata, ...)

Arguments

object

The S4 reject_infered object.

...

Additional parameters to pass on to base predict.

newdata

The test dataframe to discretize and for which we wish to have predictions.