install_pkg_model_names: check and install missing package dependencies from a vector...

Description Usage Arguments Details See Also Examples

Description

It is a function to check the missing packages needed to do model training, since caret package does not install all the depedencies for some algorithms.

Usage

1

Arguments

model_names

A vector of model names

Details

This function checks and installs package dependencies when you supply it with a vector of names of machine learning algorithms.

See Also

To see how the param_grid should be constructed ml_list.

Examples

1
2
3
4
5
6
7
8
## Not run: 
  # install by supplying the model names as defined in caret packages.
  install_pkg_model_names(c("xgbTree","deepboost"))

  # install by supplying the param_grid, which is used in ml_list
  install_pkg_model_names(params_grid$method)

## End(Not run)

edwardcooper/automl documentation built on June 3, 2019, 1:05 a.m.