hugo_train_model: Training binary classification model and choose the best one

Description Usage Arguments Value Author(s) Examples

Description

This function for the given formula and data builds logistic regressions models, decision trees, gbm model. It saves models to the models catalog and as a result returns trained models and evaluation of how these models are good.

Usage

1

Arguments

data

an optional data.frame containing the variables in the model

formula

formula describing the model to be fitted

Value

Function returns trained models and assessment of how these models are good.

Author(s)

Anna Kozak

Examples

1
2
3
4
5
6
## Not run: 
data("PimaIndiansDiabetes")
formula <- "diabetes~."
hugo_train_model(PimaIndiansDiabetes, formula)

## End(Not run)

hugo4r/hugo documentation built on May 29, 2019, 11:05 p.m.