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).
1 2 3 4 5 6 7 8 9 10 11 | predict(object, ...)
predict.discretization(object, newdata)
predict.reject_infered(object, newdata, ...)
## S4 method for signature 'discretization'
predict(object, newdata)
## S4 method for signature 'reject_infered'
predict(object, newdata, ...)
|
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.