Learn R Programming

SPOTMisc (version 1.19.52)

prepareProgressPlot: prepare data frame for progress plot

Description

converts result from a spot run into the long format.

Usage

prepareProgressPlot(modelList, runNr, directory = NULL, maxY = NULL)

Value

data frame with results:

x

integer representing step

y

corresponding function value at step x.

name

ml/dl model name, e.g., ranger

size

initial design size.

yInitMin

min y value before SMBO is started, based on the initial design only.

Arguments

modelList

ml/dl model (character)

runNr

run number (character)

directory

location of the (non-default, e.g., tuned) parameter file. Note: load result only when directory is specified, otherwise use (only one!) result from the workspace.

maxY

max number of y values. If NULL then all y values are used.

Examples

Run this code
# \donttest{
modelList <- list("resDl")
runNr <- list("100")
result <- resDl100
directory <- NULL
prepareProgressPlot(modelList,
                    runNr,
                    directory)
# }

Run the code above in your browser using DataLab