Surrogate-methods: Methods Available for Objects of Class 'Surrogate'

Surrogate-methodsR Documentation

Methods Available for Objects of Class Surrogate

Description

Utilizes stats::optim to obtain parameter estimates. Requires that the objective function and its derivative are defined by the calling learning method. Returns NULL if optimization is not successful due to problems; a vector of the current parameter estimates if optimization is not successful because it hit the maximum number if iterations; and the list object returned by stats::optim if optimization is successful

Usage

## S4 method for signature 'Surrogate'
.optim(surrogate, par, lambda, fn, gr, suppress, ...)

DynTxRegime documentation built on Nov. 25, 2023, 1:09 a.m.