setup_project: Creates the setup of the project.

Description Usage Arguments Value

View source: R/setup_project.R

Description

Creates the setup of the project.

Usage

1
setup_project(data, method_id, out_var)

Arguments

data

is a data.frame or data.table containing the data.

method_id

is a method for training. Needs to be one of the following: 'dt', 'rf', 'glm', 'nn'. These acronyms correspond to:

  • dt: Decision Trees Model

  • rf: Random Forest Model

  • glm: Generalized Liner Model

  • nn: Neural Network Model

out_var

is the target variable that the model tries to estimate.

Value

Writes the model's params to a config file at 'config/params.R'.


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