train_hego: Trainer for a surmodel object based on the HEGO algorithm

Description Usage Arguments Examples

Description

Trainer for a surmodel object based on the HEGO algorithm

Usage

1
train_hego(model, niter, optimizer = "gen")

Arguments

model

surmodel object to be trained

niter

integer indicating number of iterations

optimizer

string one of: "gen" (genetic, default), "sa" (simulated annealing) or "ps" (particle swarm)

Examples

1
2
3
fn <- binh
model <- build_surmodel(fn, 5, 2) %>% train_hego(1, 'sa')
plot(model)

coldfir3/suropt documentation built on May 12, 2019, 5:44 a.m.