predict: Prediction on a raw test set of the best logistic regression...

predictR Documentation

Prediction on a raw test set of the best logistic regression model on discretized data.

Description

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).

Usage

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, ...)

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.


adimajo/scoring documentation built on March 7, 2024, 11:18 p.m.