predict.dblr {dblr}R Documentation

Discrete Boosting Logistic Regression Prediction

Description

predict.dblr makes predictions on new data set given the fitted dblr model object.

Usage

## S3 method for class 'dblr'
predict(object, newdata, type = "response", ...)

Arguments

object

A fitted dblr model object, which should be returned by calling dblr_train function

newdata

A data.frame contains the samples to predict

type

Control the output of prediction. Default: 'response' means probability; 'Link' would produce the linear part; 'mapped' would produce a data.frame filling with the coefficients of the model

...

further arguments passed to or from other methods

Value

Returns a vector of prediction or a data.frame


[Package dblr version 0.1.0 Index]