test_model: Tests a model.

Description Usage Arguments Value

View source: R/test_model.R

Description

Tests a model.

Usage

1
test_model(model, params, testset)

Arguments

model

is a model computed with train_model.

params

is the list of arguments created by setup_model.

testset

is the data.frame that contains the data that we want to evaluate.

Value

Returns a data.frame that contains the real values of the target variable and the model estimations.


rebordao/modellatoR documentation built on May 27, 2019, 4:01 a.m.