set_parallel: Set parallel.

Description Usage Arguments Value See Also

View source: R/setters.R

Description

This helper function decides whether the analysis should be run in parallel based on the number of cores specified.

Usage

1
set_parallel(n_core)

Arguments

n_core

An integer vector of length one; specifies the number of cores to use for this analysis. Currently only works on Mac OSx and Unix/Linux systems. Defaults to 1L.

Value

A logical vector of length one; whether analysis should be run in parallel or not.

See Also

Other setters: set_categorical_variables, set_column_names, set_cores, set_dependent_variable, set_independent_variables, set_looper_, set_looper, set_measure, set_plot_model_performance, set_plot_predictions, set_preprocess, set_random_state, set_resample


easyml documentation built on June 26, 2017, 9:02 a.m.