Learn R Programming

emil (version 1.1-6)

tune: Tune parameters of modeling procedures

Description

These functions are rarely needed to be called manually as they are automatically called by fit and evaluate.modeling when needed.

Usage

tune(proc, ..., .retune = FALSE, .verbose = FALSE)

is.tuned(proc)

is.tunable(proc)

detune(proc)

Arguments

proc
modeling procedure, or list of modeling procedures, as produced by modeling.procedure.
...
Sent to batch.model.
.retune
Whether to retune already tuned processes.
.verbose
Whether to print an activity log.

Value

  • A tuned modeling procedures or a list of such.

    Logical indicating if the procedure(s) are tuned.

    Logical indicating if the has tunable parameters.

    A list of untuned modeling procedures.

See Also

emil, modeling.procedure, evaluate.modeling, fit, predict, vimp

Examples

Run this code
proc <- modeling.procedure("randomForest", param=list(mtry=1:4))
tuned.proc <- tune(proc, x=iris[-5], y=iris$Species)
mod <- fit(tuned.proc, x=iris[-5], y=iris$Species)

Run the code above in your browser using DataLab