R/docs.parallelization.R

#' @title Parallelization in ecr
#'
#' @description
#' In ecr it is possible to parallelize the fitness function evaluation
#' to make use, e.g., of multiple CP cores or nodes in a HPC cluster.
#' For maximal flexibility this is realized by means of the \pkg{parallelMap} package
#' (see the \href{https://github.com/mlr-org/parallelMap}{official
#' GitHub page} for instructions on how to set up parallelization).
#' The different levels of parallelization can be specified in the
#' \code{parallelStart*} function. At them moment only the level
#' \dQuote{ecr.evaluateFitness} is supported.
#'
#' Keep in mind that parallelization comes along with some overhead. Thus activating
#' parallelization, e.g., for evaluation a fitness function which is evaluated
#' lightning-fast, may result in higher computation time. However, if the function
#' evaluations are computationally more expensive, parallelization leads to
#' significant running time benefits.
#'
#' @name ecr_parallelization
NULL

Try the ecr package in your browser

Any scripts or data that you put into this service are public.

ecr documentation built on March 31, 2023, 10:07 p.m.