predict | R Documentation |
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, ...)
## S3 method for class 'discretization'
predict(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.