predict.model: Predict the response of unknown observations

Description Usage Arguments Value Author(s) See Also Examples

View source: R/modeling.r

Description

Predict the response of unknown observations

Usage

1
2
## S3 method for class 'model'
predict(object, x, ..., .verbose = FALSE)

Arguments

object

Fitted model.

x

Data set with observations whose response is to be predicted.

...

Sent to the procedure's prediction function.

.verbose

Whether to print an activity log.

Value

See the documentation of procedure's method.

Author(s)

Christofer Bäcklin

See Also

emil, modeling_procedure, evaluate,fit, tune, get_importance

Examples

1
2
mod <- fit("lda", x=iris[-5], y=iris$Species)
prediction <- predict(mod, iris[-5])

emil documentation built on Aug. 1, 2018, 1:03 a.m.

Related to predict.model in emil...