IterationSC: IterationSC

Description Usage Arguments See Also Examples

View source: R/stopCriteria.R

Description

An iteration counting stop criterion for TrainIBHM function creating IBHM approximation models. Should be passed to ConfigureIBHMwhile creating a configuration object.

Usage

1
IterationSC(max.iterations)

Arguments

max.iterations

The number of iterations after which model construction should be stopped.

See Also

ValidationSC,ConfigureIBHM, TrainIBHM

Examples

1
2
3
4
5
  x.train <-seq(-2,2,length.out=100)
  y.train <-tanh(x.train)
  
  m <- IBHM::TrainIBHM(x.train,y.train, ConfigureIBHM(stop.criterion=IterationSC(2)))  
  length(m)

IBHM documentation built on May 30, 2017, 4:32 a.m.