Learn R Programming

IBHM (version 1.1-11)

IterationSC: IterationSC

Description

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

Usage

IterationSC(max.iterations)

Arguments

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

See Also

ValidationSC,ConfigureIBHM, TrainIBHM

Examples

Run this code
  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)

Run the code above in your browser using DataLab