predict.dblr: Discrete Boosting Logistic Regression Prediction

Description Usage Arguments Value

View source: R/base.R

Description

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

Usage

1
2
## 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


dblr documentation built on Nov. 17, 2017, 6:42 a.m.

Related to predict.dblr in dblr...