Last data update: 2014.03.03

R: metaheur
metaheurR Documentation

metaheur

Description

Metaheuristic optimization of preprocessing combinations

Usage

metaheur(gridclassobject, startgrid = 0, startnum = 1, iterations = 5,
  taboolistlength = 1, initialtemperature = 0.01, tempconst = 0.01,
  reheat = 0.01, nholdout = 1, late = 0, stopcond = 1,
  stopvalue = 0.95, deltafive = 0.05, verbose = FALSE,
  predictor = "knn")

Arguments

gridclassobject

(GridClass) created by setgrid function in preprocomb package

startgrid

(integer) 0 random restart (default), 1 grid restart

startnum

(integer) number of restarts

iterations

(integer) number of iterations done for a restart, default to 5

taboolistlength

(integer) number of previous solution that can not be revisited, > 1

initialtemperature

(numeric) initial propability for acccepting an inferior candidate, between 0 and 1

tempconst

(numeric) multiplier for decreasing temperature on each iteration

reheat

(numeric) propability of increasing temperature on each iteration

nholdout

(integer) number of holdout rounds

late

(integer) location of previous best solution a candidate is compared to, default to 0 for last

stopcond

(integer) type of stopping condition, default to 1 for threshold, 2 for convergence

stopvalue

(numeric) threshold for stopping, defaults to 0.95

deltafive

(numeric) convergence criteria for last five iteration, defaults to 0.05

verbose

(boolean)

predictor

(character) caret name of predictive model, defaults to "knn"

Examples

## result <- metaheur(examplegrid,verbose=TRUE)
## getbestheur(result)

Results